css interview
css interview
Direction:
Defines a flex container's main axis (horizontal or vertical).
Justification:
Controls the distribution of space along the main axis.
Alignment:
Aligns items along both the main and cross axes.
Ordering:
Allows rearranging of elements without changing the HTML source order.
Flex Containers:
Elements with display: flex; or display: inline-flex;.
Flex Items:
Elements within a flex container.
Flexbox simplifies complex layouts and enhances responsive design, making it a powerful tool for creating dynamic
and adaptive web pages.
By combining these techniques, you can create a responsive website that provides a consistent and optimal user
experience across various devices.