The Padding Area

The CSS padding properties are used to generate space around content. What does that mean? We take a playful look at the padding area - with illustrations.

We'll cover the following...

Assume you had a box of clothes.

You fold your clothes and have them kept neatly in this box.

I found you a good picture of the box. See below 😀.

The reader's box
The reader's box

What if for some reason you needed more space within the box?

You do NOT want the clothes to touch the edges of the box. You want the box to expand in size and create an empty space that separates the clothes from the ...