What is flex in css?

8th Feb 2017, 7:41 AM
Saumya Saloni
Saumya Saloni - avatar
3 Answers
+ 5
The flex CSS property is a shorthand property specifying the ability of a flex item to alter its dimensions to fill available space. Flex items can be stretched to use available space proportional to their flex grow factor or their flex shrink factor to prevent overflow.
8th Feb 2017, 7:46 AM
Cory Gutierrez🔹
Cory Gutierrez🔹 - avatar
+ 3
Flex ( stand for 'FLEXible' box or 'flexbox' ) is another box model positioning ( layout ) mode providing an complementary alternative to standard layout mode of Html ( the box model, with block/inline elements ) and others a few less common ( positionned modes, float mode, table display... ) and based on box model. Check this reference source to get more information about: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Using_CSS_flexible_boxes
8th Feb 2017, 9:43 AM
visph - avatar
+ 1
flex property specifies the length of the item, relative to the rest of the flexible items inside the same container. Check this for more brief description : https://css-tricks.com/almanac/properties/f/flex/
8th Feb 2017, 7:54 AM
Praveen Kumar
Praveen Kumar - avatar