5 CSS shortcuts

Ryland @ Stackbit - Nov 9 '21 - - Dev Community

It's amazing how long I didn't know about these. They make my style sheets much more clean.

I hope they do the same for yours. :-)

1/ List properties, made simpler:

css-list-properties-short-cut

2/ The background property, made easier:

css-background-property-short-cut

3/ Font and line-height properties, made like a pro:

css-font-line-height-properties-short-cut

4/ Margin and padding properties, made how they should be:

css-margin-padding-properties-short-cut

5/ Border property, made with love:

css-border-property-short-cut

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .