This topic has not yet been rated - Rate this topic

border-top-right-radius property

[This documentation is preliminary and is subject to change.]

Sets or retrieves one or two values that define the radii of the quarter ellipse that defines the shape of the upper-right corner for the outer border edge of the current box.

CSS Backgrounds and Borders Module Level 3, Section 4.4

Syntax

border-top-right-radius: radius | percentage

Property values

A variable of type String that specifies or receives one or two radius values.

radius

A floating-point number, followed by either an absolute units designator (cm, mm, in, pt, or pc) or a relative units designator (em, ex, or px). For more information about the supported length units, see CSS Values and Units Reference.

percentage

An integer, followed by a percent sign (%). The value is a percentage of, for horizontal radii, the width of the border box, or for vertical radii, the height of the border box.

CSS information

Applies ToAll elements
Mediavisual
Inheritedno
Initial Value

Standards information

Remarks

The border-top-right-radius property specifies the horizontal and vertical radii of the ellipse that defines the rounded upper-right corner for a border box. If there is only one value given, that value specifies both horizontal and vertical radii of the ellipse. If there are two values given, the first value sets the horizontal radius and the second value sets the vertical radius.

See also

CSSStyleDeclaration
currentStyle
style
defaults
runtimeStyle
Reference
border-radius
border-bottom-left-radius
border-bottom-right-radius
border-top-left-radius

 

 

Build date: 3/13/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ