...

/

Padding and Margin Properties

Padding and Margin Properties

Get introduced to the padding and margin properties of inline and block layouts.

In the Zombie Width and Height lesson, we learned the size property of inline and block layouts. In this lesson, let’s have a look at padding and margin properties.

Padding direction agnostic zombies

  • padding-inline-start: The size of the padding at the start of the inline direction

    (This is the writing-direction-agnostic version of ...