The layout is one of the most powerful tools you can use in CSS — it can completely change how your website looks. But before moving on to that, we still need to learn a little bit of theory.

CSS Box Model

TI2B-S22_ CSS 2.png

Content

The content of the box, where text and images appear.

Padding

It’s the transparent space between the content and the border.

It’s meant to give more room around the content itself.