Learn CSS Box Model with Examples

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 มิ.ย. 2024
  • Every visible HTML element comes in the form of a box, and that's why we have this thing called the box model, which allows us to adjust the size, spacing, and placement of the box. We'll look at the different layers of the box model: content, border, and the differences and use cases for padding and margin. Finally, we'll learn about box sizing, how it affects the size of our boxes, and how we can prevent it from happening.
    Video content:
    00:00 - Box model
    00:40 - Content
    02:07 - Border
    03:37 - Padding vs Margin
    05:11 - Padding
    07:04 - Margin
    09:29 - Box sizing
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น •