New! My 44-page ebook "CSS in 44 minutes" is out! 😃

Get it now →

#border-style

Defines the style of the element's borders.

default border-style: none;

Removes the element's borders.

border-style: dotted;

Turns the border into a sequence of dots.

border-style: dashed;

Turns the border into a sequence of dashes.

border-style: solid;

Turns the border into a solid line.

border-style: double;

Splits the border into two lines.

border-style: groove;

Sets an inset style to the borders.