Example

A simple border-left-width property example:

Laboratory

description & Usage

The width of the left border is determined by the border-left-width property.

Informations

# Description
Default Value medium
Inherited no
Animatable yes
Version CSS1
JavaScript syntax object.style.borderLeftWidth="5px"

Browser compatibility and Support

# Chrome Edge Firefox Safari Opera
border-left-width

Syntax

Values

Values Description
medium Sets an average size for the left margin.
thin Determines the thickness of the left margin.
thick Determines the thickness of the left margin.
length Determines the thickness of the left margin.
initial Adds this value to its default property.
inherit It inherits this value from its parent tag.