CSS

CSS Intro

CSS Intro Quiz

CSS Intro Exercise

CSS Basic

CSS Basic Quiz

CSS Basic Exercise

CSS Advance

CSS Advance Quiz

CSS Advance Exercise

CSS3

CSS3 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

CSS border left Property

CSS border-left Property

 

 

The border-left property is used to style the left border of an element. It is a shorthand property for:-

  1. border-left-width
  2. border-left-style
  3. border-left-color

 

Syntax:-

 

Its syntax is:- border-left: border-width border-style border-color | initial | inherit;

 

Default Value:-

 

Its default value is:- medium none color

 

Further Explanation:-

 

Value Description
border-left-width Optional. Specifies the width of the left border.
border-left-style Required. Specifies the style of the left border.
border-left-color Optional. Specifies the color of the left border.
initial Sets this property to its default value.
inherit Inherits this property from its parent element.

Code Explanation

All Tutorials related to CSS Properties

All Sections related to CSS