What is flex in css? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

What is flex in css?

8th Feb 2017, 7:41 AM
Saumya Saloni
Saumya Saloni - avatar
3 Respostas
+ 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
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