HTML Dog
Skip to navigation

CSS Property: border-top-style

The style of the top border of a box.

Possible Values

ValueDescription
none

No border.

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.

hidden

Used with tables. Same as none, except where there are conflicting borders.

inherit
initial
unset

Example


.eel { border-top-style: solid; }