Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Controlling Direction | Сучасний макет із Flexbox
Основи CSS

Controlling Direction

Свайпніть щоб показати меню

The flex-direction property enables us to determine the direction in which flex items are arranged. By default, this property is set to row, resulting in a left-to-right layout in browsers that use English as the default language. You can set it to:

flex-direction: row | column | row-reverse | column-reverse;
flex-direction

Let's consider the next website navigation as an example.

row

index.html

index.html

index.css

index.css

row-reverse

index.html

index.html

index.css

index.css

column

Pay attention to the width of the items; they cover the entire width of the parent.

index.html

index.html

index.css

index.css

column-reverse

index.html

index.html

index.css

index.css

question mark

What does the flex-direction property do?

Виберіть правильну відповідь

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

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

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

Секція 4. Розділ 2

Запитати АІ

expand

Запитати АІ

ChatGPT

Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат

Секція 4. Розділ 2
some-alt