CSS - Shorthand property


A shorthand is a css property that permits to write several css property into one property value.


For instance, the border property is a shorthand property.

The below border property value

h1 {
   border: 1px solid aqua;

is equivalent to

h1 {
   border-width: 1px;
   border-style: solid;
   border-color: aqua;

Discover More
Css Padding
CSS - Padding

The padding area is the space between the content of the box and its border. In the below image, this are the areas: TP (top padding) BP (bottom padding) LP (left padding) RB (right padding)...
CSS - Border

This page shows you how to define the border of a box You may see the outline: The outline is the outermost delimitation line of the margin area (applied by default when the element is on focus)....
CSS - list-item (list formatting)

This page is the formatting of element seen as a list-item. A list-item has: a principal block box (the normal box) and anadditional box known as themarker box (the marker). All properties applies...

Share this page:
Follow us:
Task Runner