What is Flexbox?
Flexbox is a CSS layout module designed to arrange elements in rows or columns, making alignment and spacing easier.
Common Properties
display: flex;
justify-content
— aligns items horizontally.align-items
— aligns items vertically.
Example
.container {
display: flex;
justify-content: space-between;
align-items: center;
}