aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/css/mask-border-source/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ja/web/css/mask-border-source/index.html')
-rw-r--r--files/ja/web/css/mask-border-source/index.html73
1 files changed, 73 insertions, 0 deletions
diff --git a/files/ja/web/css/mask-border-source/index.html b/files/ja/web/css/mask-border-source/index.html
new file mode 100644
index 0000000000..7db15c1458
--- /dev/null
+++ b/files/ja/web/css/mask-border-source/index.html
@@ -0,0 +1,73 @@
+---
+title: mask-border-source
+slug: Web/CSS/mask-border-source
+tags:
+ - CSS
+ - CSS プロパティ
+ - CSS マスク
+ - Experimental
+ - Reference
+translation_of: Web/CSS/mask-border-source
+---
+<div>{{CSSRef}}{{SeeCompatTable}}</div>
+
+<p><a href="/ja/docs/Web/CSS">CSS</a> の <strong><code>mask-border-source</code></strong> プロパティは、要素の<a href="/ja/docs/Web/CSS/mask-border">マスク境界</a>を生成するのに使われる元の画像を設定します。</p>
+
+<p>{{cssxref("mask-border-slice")}} プロパティは、元の画像を最終的なマスク境界に動的に適用する上で、複数の領域に分割するために使用されます。</p>
+
+<h2 id="Syntax" name="Syntax">構文</h2>
+
+<pre class="brush:css no-line-numbers">/* Keyword 値 */
+mask-border-source: none;
+
+/* &lt;image&gt; 値 */
+mask-border-source: url(image.jpg);
+mask-border-source: linear-gradient(to top, red, yellow);
+
+/* グローバル値 */
+mask-border-source: inherit;
+mask-border-source: initial;
+mask-border-source: unset;
+</pre>
+
+<h3 id="Values" name="Values">値</h3>
+
+<dl>
+ <dt><code>none</code></dt>
+ <dd>マスク境界は使用されません。</dd>
+ <dt>{{cssxref("&lt;image&gt;")}}</dt>
+ <dd>マスク境界に使用する画像への参照です。</dd>
+</dl>
+
+<h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3>
+
+<pre class="syntaxbox">{{csssyntax}}</pre>
+
+<h2 id="Examples" name="Examples">例</h2>
+
+<p>例については {{cssxref("mask-border")}} をご覧ください。</p>
+
+<h2 id="Specifications" name="Specifications">仕様書</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">仕様書</th>
+ <th scope="col">状態</th>
+ <th scope="col">備考</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{SpecName("CSS Masks", "#propdef-mask-border-source", "mask-border-source")}}</td>
+ <td>{{Spec2("CSS Masks")}}</td>
+ <td>初回定義</td>
+ </tr>
+ </tbody>
+</table>
+
+<p>{{cssinfo}}</p>
+
+<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの対応</h2>
+
+<p>TBD</p>