Перейти к содержанию
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 box model: content inside padding, inside the border, inside the margin

Раздаточный материал

Войти или создать аккаунт

IGCSE, A-Level & AP