Welcome Guest. Sign in or Signup

CSS BORDER-RIGHT

This is a shorthand property which allows an author to specify the border-width, border-style, and border-color for the right border of an element. If no color is specified, the value will be taken from the ‘color’ property.

 

Example

div.out { border-right: 10px outset #ffffff }

<div style=”border-right: 10px outset #ffffff”>this is a test</div>

 

Possible Values

Value Description
inherit Explicitly sets the value of this property to that of the parent.
[border-width] Uses a [border-width] value to render the right border for an element.
[border-style] Uses a [border-style] value to render the right border for an element.
[border-color] Uses a [border-color] value to render the right border for an element.