24rk4q
Last Updated: February 25, 2016
·
1.054K
· geetotes
537449ba51eeff09dc6a5fc50a0b5d4f

CSS Mnemonic

When setting margins or padding, I typically like to only use one parameter, and not use padding-left, padding-top, etc.

You can remember the syntax by:

padding: trbl
(pronounced padding: trouble)
which stands for:
padding: top right bottom left

Say Thanks
Respond

1 Response
Add your response

17781
D42a7264714dee5006b9c99d2567a320

I just memorise that they're in clockwise order, starting from top (12:00 on a clock)

over 1 year ago ·