CSS Course

Lesson 7: Flexbox

What is Flexbox?

Flexbox is a CSS layout module designed to arrange elements in rows or columns, making alignment and spacing easier.

Common Properties

Example

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}