HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

border-top-right-radius

Description

The border-top-right-radius property for CSS rounds the top right corner of the element.

The first value is the horizontal radius and the second value is the vertical radius. If the second value is omitted, the first value is the horizontal radius and the vertical radius.

Syntax

CSS

border-top-right-radius: value;

JS

object.style.borderTopRightRadius = "value";

Values

<'border-top-right-radius'> = <length-percentage [0,∞]>{1,2}
<length-percentage> =
    <length> |
    <percentage>
<length>

Specifies the length using a number followed by a unit of measurement.

<percentage>

Specifies the percentage using a number followed by a percent sign (%).

Initial

0

Examples

1 · length

2 · percentage

3 · JS