border right width

Education is not limited to just classrooms. It can be gained anytime, anywhere... - Ravi Ranjan (M.Tech-NIT)

CSS border-right-width Property

Example

Set the width of the right border:

{
    border-style: solid;
    border-right-width: 15px;

}

Definition and Usage

The border-right-width property sets the width of an element's right border.

Note: Always declare the border-style property before the border-right-width property. An element must have borders before you can change the width.

CSS Syntax

border-right-width: medium|thin|thick|length|initial|inherit;

Property Values

Value Description  
medium Specifies a medium right border. This is default  
thin Specifies a thin right border  
thick Specifies a thick right border  
length Allows you to define the thickness of the right border