From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/ja/web/css/-moz-outline-radius/index.html | 105 ++++++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 files/ja/web/css/-moz-outline-radius/index.html (limited to 'files/ja/web/css/-moz-outline-radius') diff --git a/files/ja/web/css/-moz-outline-radius/index.html b/files/ja/web/css/-moz-outline-radius/index.html new file mode 100644 index 0000000000..57fc74d787 --- /dev/null +++ b/files/ja/web/css/-moz-outline-radius/index.html @@ -0,0 +1,105 @@ +--- +title: '-moz-outline-radius' +slug: Web/CSS/-moz-outline-radius +tags: + - '-moz-outline-radius' + - '-moz-outline-radius-bottomleft' + - '-moz-outline-radius-bottomright' + - '-moz-outline-radius-topleft' + - '-moz-outline-radius-topright' + - CSS + - CSS プロパティ + - Mozilla 拡張 + - Non-standard + - Reference +translation_of: Web/CSS/-moz-outline-radius +--- +
{{CSSRef}}{{Non-standard_header}}
+ +

Firefox などの Mozilla アプリケーションにおいて、 CSS-moz-outline-radius プロパティは、要素の輪郭線 ({{cssxref("outline")}}) の角を丸くするために使用することができます。

+ +
/* 1つの値 */
+-moz-outline-radius: 25px;
+
+/* 2つの値 */
+-moz-outline-radius: 25px 1em;
+
+/* 3つの値 */
+-moz-outline-radius: 25px 1em 12%;
+
+/* 4つの値 */
+-moz-outline-radius: 25px 1em 12% 4mm;
+
+/* グローバル値 */
+-moz-outline-radius: inherit;
+-moz-outline-radius: initial;
+-moz-outline-radius: unset;
+
+ +

このプロパティは、一括指定であり、4つのプロパティ {{cssxref("-moz-outline-radius-topleft")}}, {{cssxref("-moz-outline-radius-topright")}}, {{cssxref("-moz-outline-radius-bottomright")}}, {{cssxref("-moz-outline-radius-bottomleft")}} を設定します。

+ +

{{cssinfo}}

+ +

構文

+ +

+ +
楕円形の輪郭線や <percentage> の値は、 {{cssxref("border-radius")}} で説明されている構文に従います。
+ +

1~4つの <outline-radius> 値で、次のうちの一つを表します。

+ +
+
{{cssxref("<length>")}}
+
取りうる値については {{cssxref("<length>")}} をご覧ください。
+
{{cssxref("<percentage>")}}
+
{{cssxref("<percentage>")}}。詳しくは {{cssxref("border-radius")}} を参照してください。
+
+ + + +

形式文法

+ +
{{csssyntax}}
+ +

+ +

HTML

+ +
<p>This element has a rounded outline!</p>
+ +

CSS

+ +
p {
+  margin: 5px;
+  border: 1px solid black;
+  outline: dotted red;
+  -moz-outline-radius: 12% 1em 25px;
+}
+ +

結果

+ +

{{EmbedLiveSample('Example')}}

+ +

注: 上記の例は、 Firefox 以外のブラウザーで表示させると、期待通りの効果が表示されません。

+ +

メモ

+ + + +

仕様書

+ +

このプロパティはどの CSS 標準で定義されていません。

+ +

ブラウザーの互換性

+ + + +

{{Compat("css.properties.-moz-outline-radius")}}

-- cgit v1.2.3-54-g00ecf