CSS border left width

CSS border left width is used to set the left border width for html element. The border left for an html element can be display using three properties combination. These three properties are CSS border-left-width, CSS border-left-style and CSS border-left-color.

The syntax for CSS border-left-width is:

For Example:

Output

This is the HTML paragraph inside the div for background size text. This div used to show the border left. This border has given here to display border.

CSS border left width values list

The values and description of this property is used for CSS border left width to specify the border.

Sr. No.valueDescription
1border-widthUsed to give width of border. The value for this can be in pixel format or percentage format. Check CSS border-width for more detail.
2initialUsed to define as the property initial value.
2inheritUsed to define the computed value of property on the elements parent.

CSS border left widthr dotted

In this example we will use to show dotted border-left.

For Example:

Output

This is the HTML paragraph inside the div for background size text. This div used to show the border left. This border has given here to display border.

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.