Outline
Allows you to customise the look of an outline around a block.
Not to be confused with Border, since the Border is created inside the element, whereas the outline is created outside the element.
Style
The Outline Style property defines the type of line used for the outline of a block (solid, dotted, dashed, etc.).
Default Default value. No border.
Solid The border is a solid line.
Dots The border is a sequence of dots.
Dashes The border is a sequence of dashes.
Colour
The Outline Colour property defines the colour of the outline of a block.
Width
The Outline Width property defines the width of the outline of a block.
Offset
Determines the spacing created between the outline and the element's borders.
Last updated