Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Вирівнювання Елементів по Вертикалі | Флексбокс
Основи CSS
course content

Зміст курсу

Основи CSS

Основи CSS

2. CSS для Тексту
3. Бокс Модель та Відстань між Елементами
4. Флексбокс
5. Декоративні Ефекти

book
Вирівнювання Елементів по Вертикалі

The align-items property governs the vertical arrangement of flex items. Its default value is stretch.

css

stretch

Це означає, що ми розтягуємо елементи на всю довжину поперечної осі.

stretch

It means that we extend items to the entire length of the cross axis.

html

index.html

css

index.css

copy

center

Items are in the center of the cross axis.

html

index.html

css

index.css

copy

flex-start

All items start at the beginning of the cross axis.

html

index.html

css

index.css

copy

flex-end

All items are in the end of the cross axis (in the end of the parent flex container).

html

index.html

css

index.css

copy

baseline

All flex items are aligned based on their text content baseline.

html

index.html

css

index.css

copy

1. Що робить властивість align-items?

2. Які з наведених нижче значень можна використовувати з властивістю align-items?

question mark

Що робить властивість align-items?

Select the correct answer

question mark

Які з наведених нижче значень можна використовувати з властивістю align-items?

Select the correct answer

Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 4. Розділ 4
Ми дуже хвилюємося, що щось пішло не так. Що трапилося?
some-alt