Borders
9.9
Lesson

Border Shorthand Property

The three different border properties for style, width and color can be combined into a single border shorthand property.

For this property, border style value is required. The colour and width are optional.

You can also use the individual side border shorthand properties, border-top, border-bottom, border-left and border-right as shown below: