# border-right-style property

The `border-right-style` property specifies a style of a right border. Property values ​​such as in `border-style`.

## Syntax

`selector { border-right-style: value; }`

## Example

Let's set a right border type as `dashed`:

`<div id="elem"></div>` `#elem { border-right-style: dashed; border-right-width: 1px; border-right-color: black; background: #f9f9f9; width: 300px; height: 100px; }`

:

## See also

- the `border-right-color` property
  that sets a color of a right border
- the `border-right-width` property
  that sets a width of a right border
- the `border-right` property
  that sets a right border
- the `border-width` property
  that sets a width of all sides of a border
- the `border-left` property
  that sets a left border
- the `border-left-color` property
  that sets a color of a left border
- the `border-left-width` property
  that sets a width of a left border
- the `border-left-style` property
  that sets a style of a left border

← →
↑
en ru