/
Sophia00
/
New
Обзор
Документация
Войти
/
Sophia00
/
New
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
flex5.css
70 строк
949 B
Пользователь по умолчанию
лабораторная 24, вторая часть, задача 1 и 2
11 апр 2026, 10:27
11 апр 2026, 10:27
1ded559
Код
Авторство
О чём код?
.parent { display:flex; flex-direction: row; align-items: stretch; justify-content: center; width: 450px; height: 300px; border: 1px solid red; } .child1 { width: 70px; border: 1px solid green; } .child2 { width: 70px; border: 1px solid green; } .child3 { width: 70px; border: 1px solid green; } .child4 { width: 70px; border: 1px solid green; } .child5 { width: 70px; border: 1px solid green; } .parent1 { display:flex; flex-direction: column; align-items: stretch; justify-content: center; width: 450px; height: 300px; border: 1px solid red; } .child6 { height: 20px; border: 1px solid green; } .child7 { height: 20px; border: 1px solid green; } .child8 { height: 20px; border: 1px solid green; } .child9 { height: 20px; border: 1px solid green; } .child10 { height: 20px; border: 1px solid green; }