You can set the flex-basis
property of .twit
which tells flexbox what base width to give each .twit
element, before splitting up the remaining space to all elements.
try adding the following CSS to .twit
(I used 30% not 33% to account for margins and padding, but you can play with this number.)
flex-basis: 30%;
Related Contents:
- How to remove the space between inline/inline-block elements?
- Why don’t flex items shrink past content size?
- Flexbox: 4 items per row
- Fill the remaining height or width in a flex container
- How to specify line breaks in a multi-line flexbox layout?
- Why can’t be flex containers?
- Why does flexbox stretch my image rather than retaining aspect ratio?
- Making a flex item float right
- How to align flexbox columns left and right?
- Prevent flex items from stretching
- Equal height rows in a flex container
- Auto Resize Image in CSS FlexBox Layout and keeping Aspect Ratio?
- How to center a flex container but left-align flex items
- Flexbox and Internet Explorer 11 (display:flex in ?)
- Maintain image aspect ratio when changing height
- Prevent a flex items height from expanding to match other flex items
- How can I show three columns per row?
- Flex / Grid layouts not working on button or fieldset elements
- How to get flexbox to include padding in calculations?
- How to disable equal height columns in Flexbox?
- How to center horizontally and vertically?
- How can I create a row-based masonry layout using CSS?
- Giving wrapped flexbox items vertical spacing
- white-space: nowrap breaks flexbox layout [duplicate]
- Flexbox code working on all browsers except Safari. Why?
- Aligning elements left and center with flexbox
- flex child is growing out of parent
- How to center elements on the last row in CSS Grid?
- Flexbox on IE11: image stretched for no reason?
- Remove space (gaps) between multiple lines of flex items when they wrap
- CSS horizontal scroll
- How to display wrapping flex items as space-between with last row aligned left?
- CSS Flexbox issue: Why is the width of my flexchildren affected by their contents?
- One flex/grid item sets the size limit for siblings
- How to stretch flex child to fill height of the container?
- Display: Flex loses right padding when overflowing?
- how to make child in flex go full width?
- How can I set a minimum amount of space between flexbox items?
- Last margin / padding collapsing in flexbox / grid layout
- How to adapt a flex div’s width to content
- Change the direction flow of CSS columns
- How do I make flex box work in safari?
- How to vertically center the contents of a flexbox item
- Make flex items overlap
- Why does width and height of a flex item affect how a flex item is rendered?
- The difference between flex-basis auto and 0 (zero)
- CSS flex box last space removed
- Flex align-items: center not centering items [closed]
- Add dividing line between flex items with equal space distribution
- Flexbox alternative for IE9