スタイルborderBottomRightRadiusプロパティ
例
div要素の右下隅に丸い境界線を追加します。
document.getElementById("myDIV").style.borderBottomRightRadius = "25px";
定義と使用法
borderBottomRightRadiusプロパティは、右下隅の境界線の形状を設定または返します。
ヒント:このプロパティを使用すると、要素に丸みを帯びた境界線を追加できます。
ブラウザのサポート
表の数字は、プロパティを完全にサポートする最初のブラウザバージョンを示しています。
Webkit、Moz、またはOが後に続く数字は、プレフィックスで機能した最初のバージョンを指定します。
Property | |||||
---|---|---|---|---|---|
borderBottomRightRadius | 5.0 4.0 Webkit |
9.0 | 4.0 3.0 Moz |
5.0 3.1 Webkit |
10.5 |
構文
borderBottomRightRadiusプロパティを返します。
object.style.borderBottomRightRadius
borderBottomRightRadiusプロパティを設定します。
object.style.borderBottomRightRadius = "length|% [length|%]|initial|inherit"
プロパティ値
Value | Description |
---|---|
length | Defines the shape of the bottom-right corner. Default value is 0 |
% | Defines the shape of the bottom-right corner in % |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
技術的な詳細
デフォルト値: | 0 |
---|---|
戻り値: | 要素のborder-bottom-right-radiusプロパティを表す文字列 |
CSSバージョン | CSS3 |
関連ページ
CSSリファレンス:border-bottom-right-radiusプロパティ