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 justify-content property is instrumental in determining the position of flex items along the main axis. Its default value is flex-start.

css

flex-start

Значення за замовчуванням, яке змушує всі елементи розташовуватися на початку головної осі.

flex-start

Default value, which makes all the items be at the start of the main axis.

html

index.html

css

index.css

copy

flex-end

All items are at the axis end.

html

index.html

css

index.css

copy

center

All items are in the center.

html

index.html

css

index.css

copy

space-around

It distributes all the items evenly along the main axis with a bit of space left at either end.

html

index.html

css

index.css

copy

space-between

It is very similar to space-around except that it doesn't leave any space at the axis on both ends.

html

index.html

css

index.css

copy
question mark

Яке з наведених нижче значень властивості justify-content вирівняє flex-елементи по центру flex-контейнера?

Select the correct answer

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

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

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

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