Example

A simple border-left-style property example:

Laboratory

description & Usage

The style and mode of the left border are determined by the border-left-style property.

Informations

# Description
Default Value none
Inherited no
Animatable no
Version CSS1
JavaScript syntax object.style.borderLeftStyle="dotted"

Browser compatibility and Support

# Chrome Edge Firefox Safari Opera
border-left-style

Syntax

Values

Values Description
none It does not set any margin.
hidden Defines a hidden and invisible margin.
dotted The margin of the point determines the point.
dashed The margin of the piece determines the piece.
solid Defines a border with a straight line.
double Defines a double margin.
groove Defines a grooved three-dimensional border.
ridge Defines a 3D lined border.
inset Defines a three-dimensional inner margin.
outset Defines the three-dimensional outer margin.
initial Adds this value to its default property.
inherit It inherits this value from its parent tag.