border left width

Education is not limited to just classrooms. It can be gained anytime, anywhere... - Ravi Ranjan (M.Tech-NIT)

CSS border-left-width Property


Set the width of the left border:

    border-style: solid;
    border-left-width: 15px;


Definition and Usage

The border-left-width property sets the width of an element's left border.

Note: Always declare the border-style property before the border-left-width property. An element must have borders before you can change the width.


CSS Syntax

border-left-width: medium|thin|thick|length|initial|inherit;

Property Values

Value Description  
medium Specifies a medium left border. This is default  
thin Specifies a thin left border  
thick Specifies a thick left border  
length Allows you to define the thickness of the left border