CSS Intro

CSS Intro Quiz

CSS Intro Exercise

CSS Basic

CSS Basic Quiz

CSS Basic Exercise

CSS Advance

CSS Advance Quiz

CSS Advance Exercise


CSS3 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

CSS border right Property

CSS border-right Property



The border-right property is used to style the right border of an element. It is a shorthand property for:-

  1. border-right-width
  2. border-right-style
  3. border-right-color




Its syntax is:- border-right: border-width border-style border-color | initial | inherit;


Default Value:-


Its default value is:- medium none color


Further Explanation:-


Value Description
border-right-width Required. Specifies the width of the right border.
border-right-style Required. Specifies the style of the right border.
border-right-color Optional. Specifies the color of the right border.
initial Sets this property to its default value.
inherit Inherits this property from its parent element.

Code Explanation

All Tutorials related to CSS Properties

All Sections related to CSS