HTML Dog
Skip to navigation

CSS Property: outline-style

The style of the outline around a box.

Possible Values

ValueDescription
none

No outline.

solid

Solid line.

dotted

Series of dots.

dashed

Series of dashes.

double

Two solid lines.

groove

Representation of a carved groove. Opposite of ridge.

ridge

Representation of an embossed ridge. Opposite of groove.

inset

Representation of an inset depression. Opposite of outset.

outset

Representation of an outset extrusion. Opposite of inset.

inherit
initial
unset

Example


.mercedes { outline-style: solid; }

Browser support

Can I Use outline? Data on support for the outline feature across the major browsers from caniuse.com.