Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

what is flex 1 in css

If an element has flex: 1, this means the size of all of the other elements 
will have the same width as their content, but the element with flex: 
1 will have the remaining full space given to it

This applies if the parent element has
display: flex;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #flex #css
ADD COMMENT
Topic
Name
8+6 =