#border

Shorthand property for border-width border-style and border-color.

border: 4px dotted red;

The order is important:

  • width
  • style
  • color

border: 2px solid;

Only the color is optional. If you omit it, the color applied will be the color of the text.