Css Property

About flex property in CSS

About flex property in CSS

Css Property
The flex property is a sub-property of the Flexible Box Layout module. This is the shorthand for flex-grow , flex-shrink and flex-basis . The second and third parameters ( flex-shrink and flex-basis ) are optional. Example : Here's the scoop on what the values map to depending on how many values you give it: flex: none /* value 'none' case */ flex: <'flex-grow'> /* One value syntax, variation 1 */ flex: <'flex-basis'> /* One value syntax, variation 2 */ flex: <'flex-grow'> <'flex-basis'> /* Two values syntax, variation 1 */ flex: <'flex-grow'> <'flex-shrink'> /* Two values sy...