CSS border-left

Previous Next

Demo of the different values of the border-left property.

Click the property values below to see the result:

border-left: 5px solid red;
border-left: 10px solid red;
border-left: 4px dotted blue;
border-left: 4px dashed blue;
border-left: 4px inset;
border-left: 4px outset;
border-left: 4px ridge;
border-left: 4px groove;
border-left: double;
A demonstration on different ways do add a left border.
A demonstration on different ways do add a left border.
A demonstration on different ways do add a left border.
A demonstration on different ways do add a left border.
A demonstration on different ways do add a left border.
A demonstration on different ways do add a left border.
A demonstration on different ways do add a left border.
A demonstration on different ways do add a left border.
A demonstration on different ways do add a left border.

Play more with the code in our Tryit yourself editor: Try it Yourself ❯