Lớp corners
Bài học 12 trên 26 trong khóa học Dự án giao diện: tạo bản sao thẻ hồ sơ Coddy của Coddy.
Thử thách
DễNhắm đến lớp ‘corners’:
- Đặt display thành flex.
- Đặt align-items thành center.
- Đặt justify-content thành space-between.
- Đặt gap thành 200px.
- Đặt color thành white.
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 Dự án giao diện: tạo bản sao thẻ hồ sơ Coddy
Tự luyện tập: Playground Web