CSS border-left-style (Set/Change Style of Left Border)

The CSS border-left-style property is used when we need to define the style of left border of an element. For example:

HTML with CSS Code
<!DOCTYPE html>
      p {border: 4px solid chocolate; padding: 10px; border-left-style: dashed;}

   <p>This is a para.</p>

This is a para.

CSS border-left-style Syntax

The syntax of border-left-style property in CSS, is:

border-left-style: solid|dashed|dotted|double|ridge|groove|inset|outset|initial|inherit|none|hidden;

Note - All border style values are described in separate tutorial.

CSS Online Test

« Previous Tutorial Next Tutorial »

Follow/Like Us on Facebook

Subscribe Us on YouTube