Professional Documents
Culture Documents
Bài tập
Bài tập
Height : 100px
Weight : 100px
Chuyển thành :
Code : https://codepen.io/thanhhoacan/pen/zYRrMoe?editors=1100
Bài tập absolute : 3 ô vuông màu, 100px
Đỏ : absolute
H = 300px ,
W = 300px,
Height : 100px
Weight : 100px
Xanh : relative
Vàng : absolute
Đỏ : fixed
Red di chuyển xuống vẫn đứng cố định :
Code : https://codepen.io/thanhhoacan/pen/rNJxQjQ