CSS border-left-width property

Description

CSS border-left-width property defines the width for left side border of a block.

Syntax

border-left-width : medium | thin | thick | +ve length

Property values

mediumDefault

medium value represents medium sized border for the left side. thin≤medium≤thick

border-left-width: medium;

thin

thin value defines thin line border for the left side.

border-left-width: thin;

thick

thick value defines a thick line border for the left side.

border-left-width: thick;

+ve length

lenght defines the line width of border for the left side. The used units might be px, in, em, pt.

border-left-width: 10px;

Applicable to

It applies to all elements

#CSS digger
Was this article helpful?

 
arrow
If the border-left-style is none then the border-left-width is of no use i.e. represents 0px.
×

Ctrl+D