CSS border-right-style (Set/Change the Style of Right Border)

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

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

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

This is a para.

CSS border-right-style Syntax

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

border-right-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