Lớp container
Bài học 10 trên 17 trong khóa học Accordion hình ảnh | Dự án front-end của Coddy.
Thử thách
DễLớp ‘container’ mục tiêu:
- Đặt width thành 500 pixel và height thành 300 pixel.
- Đặt display thành Flex
- Đặt justify-content thành start
- Đặt flex-wrap thành nowrap.
Tự làm thử
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<!-- Viết code HTML ở đây -->
<script src="script.js"></script>
</body>
</html>Tất cả bài học trong Accordion hình ảnh | Dự án front-end
Tự luyện tập: Playground Web