![]() |
VOOZH | about |
The CSS flexbox is a vital feature to develop the frontend, there is two flex-grow available in tailwind CSS all the properties are covered as in class form. It is the alternative of CSS flex grow Property for the fast development of the front-end. This class specifies how much the item will grow compared to other items inside that container. In other words, it is the ability of an item to grow compared to other items present inside the same container.
Flex Grow:
flex-grow-0: This class restricts the growing feature, it has the ability of an item to grow compared to content present inside the same container.
Syntax:
<element class="flex-grow-0"> Contents... </element>
Example:
Output:
👁 Imageflex-grow: This class does not restrict the growing feature, it has the ability of an item to grow compared to the space left on the screen.
Syntax:
<element class="flex-grow"> Contents... </element>
Example:
Output:
👁 Image