본문 바로가기
English

Every box has layers

  • CSS treats every element as a box.
  • Content is your text or image. Padding is space inside, around the content.
  • Border is a line around the padding. Margin is space outside, pushing other boxes away.

The CSS box model: content inside padding, inside the border, inside the margin

교재 자료

로그인 또는 계정 만들기

IGCSE, A-Level & AP