Lớp 'glass'
Bài học 14 trên 31 trong khóa học Thẻ 3D | Dự án front-end của Coddy.
Thử thách
DễLớp mục tiêu ‘glass’:
- Đặt position thành absolute
- Đặt inset thành 8 pixel.
- Đặt border radius thành 55px.
- Đặt border-left và border-bottom thành
1px solid white. - Đặt transform-style thành preserve-3d.
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 Thẻ 3D | Dự án front-end
Tự luyện tập: Playground Web