CSS border-bottom-style (Set/Change Style of Bottom Border)

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

HTML with CSS Code
<!DOCTYPE html>
      p.one {border-bottom-style: solid;}
      p.two {border-bottom-style: double;}
      p.three {border-bottom-style: groove;}
      p.four {border-bottom-style: dotted;}

   <p class="one">This is para one.</p>
   <p class="two">This is para two.</p>
   <p class="three">This is para three.</p>
   <p class="four">This is para four.</p>


This is para one.

This is para two.

This is para three.

This is para four.

CSS border-bottom-style Syntax

The syntax of border-bottom-style in CSS, is:

border-bottom-style: value;

Note - All values that can be used to define the style of bottom border, are described in separate tutorial.

CSS Online Test

« Previous Tutorial Next Tutorial »

Follow/Like Us on Facebook

Subscribe Us on YouTube