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/border-image-source/index.html | 93 +++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 files/ja/web/css/border-image-source/index.html (limited to 'files/ja/web/css/border-image-source') diff --git a/files/ja/web/css/border-image-source/index.html b/files/ja/web/css/border-image-source/index.html new file mode 100644 index 0000000000..ffac71e956 --- /dev/null +++ b/files/ja/web/css/border-image-source/index.html @@ -0,0 +1,93 @@ +--- +title: border-image-source +slug: Web/CSS/border-image-source +tags: + - CSS + - CSS Borders + - CSS Property + - CSS プロパティ + - CSS 背景と境界 + - Reference + - 'recipe:css-property' +translation_of: Web/CSS/border-image-source +--- +
{{CSSRef}}
+ +

border-image-sourceCSS のプロパティで、要素の境界画像に使われる元の画像を設定します。

+ +
{{EmbedInteractiveExample("pages/css/border-image-source.html")}}
+ + + +

元の画像を最終的な境界画像に動的に適用する上で、複数の領域に分割するために {{cssxref("border-image-slice")}} プロパティが使用されます。

+ +

構文

+ +
/* キーワード値 */
+border-image-source: none;
+
+/* <image> 値 */
+border-image-source: url(image.jpg);
+border-image-source: linear-gradient(to top, red, yellow);
+
+/* グローバル値 */
+border-image-source: inherit;
+border-image-source: initial;
+border-image-source: unset;
+
+ +

+ +
+
none
+
境界画像は使用されません。代わりに {{cssxref("border-style")}} で定義されたものが表示されます。
+
{{cssxref("<image>")}}
+
境界に使用する画像への参照です。
+
+ +

公式定義

+ +

{{CSSInfo}}

+ +

形式文法

+ +
{{csssyntax}}
+ +

+ +

さまさまな値を使った表示例は、 {{cssxref("border-image")}} をご覧ください。

+ +

仕様書

+ + + + + + + + + + + + + + + + +
仕様書状態備考
{{SpecName('CSS3 Backgrounds', '#the-border-image-source', 'border-image-source')}}{{Spec2('CSS3 Backgrounds')}}初回定義
+ +

ブラウザーの互換性

+ + + +

{{Compat("css.properties.border-image-source")}}

+ +

関連情報

+ + -- cgit v1.2.3-54-g00ecf