![]() |
In Flexbox, the main axis and cross axis are two fundamental concepts that determine the layout and alignment of the flex container and its items. Flexbox is a layout model in CSS designed for building flexible and efficient user interfaces. Syntax:/* Setting up a flex container with flex items */ Main Axis:The main axis is the primary axis along which flex items are laid out inside a flex container.
Cross Axis:The cross axis is the axis perpendicular to the main axis inside a flex container.
|
Reffered: https://www.geeksforgeeks.org
CSS |
Related |
---|
![]() |
![]() |
![]() |
![]() |
![]() |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 12 |