diff options
author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
commit | 33058f2b292b3a581333bdfb21b8f671898c5060 (patch) | |
tree | 51c3e392513ec574331b2d3f85c394445ea803c6 /files/zh-cn/web/css/mask-border-mode | |
parent | 8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff) | |
download | translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2 translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip |
initial commit
Diffstat (limited to 'files/zh-cn/web/css/mask-border-mode')
-rw-r--r-- | files/zh-cn/web/css/mask-border-mode/index.html | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/files/zh-cn/web/css/mask-border-mode/index.html b/files/zh-cn/web/css/mask-border-mode/index.html new file mode 100644 index 0000000000..d23aa62491 --- /dev/null +++ b/files/zh-cn/web/css/mask-border-mode/index.html @@ -0,0 +1,58 @@ +--- +title: mask-border-mode +slug: Web/CSS/mask-border-mode +translation_of: Web/CSS/mask-border-mode +--- +<div>{{cssref}}{{SeeCompatTable}}</div> + +<p><font><font>该</font><a href="https://developer.mozilla.org/en-US/docs/Web/CSS"><font>CSS</font></a><font>属性指定使用的混合模式</font><a href="https://developer.mozilla.org/en-US/docs/Web/CSS/mask-border"><font>面具边界</font></a><font>。</font></font><strong><code>mask-border-mode</code></strong></p> + +<h2 id="Syntax">Syntax</h2> + +<pre class="brush: css no-line-numbers">/* Keyword values */ +mask-border-mode: luminance; +mask-border-mode: alpha; + +/* Global values */ +mask-border-mode: inherit; +mask-border-mode: initial; +mask-border-mode: unset; +</pre> + +<h3 id="值">值</h3> + +<dl> + <dt><code>luminance</code></dt> + <dd>掩模边界图像的亮度值用作掩模值。</dd> + <dt><code>alpha</code></dt> + <dd>掩模边界图像的亮度值用作掩模值。</dd> +</dl> + +<h3 id="形式语法"><font><font>形式语法</font></font></h3> + +<pre class="syntaxbox">{{csssyntax}}</pre> + +<h2 id="产品规格"><font><font>产品规格</font></font></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-mode", "mask-border-mode")}}</td> + <td>{{Spec2("CSS Masks")}}</td> + <td>初步定义</td> + </tr> + </tbody> +</table> + +<p>{{cssinfo}}</p> + +<h2 id="Browser_compatibilityEdit">Browser compatibility<a class="button section-edit only-icon" href="https://developer.mozilla.org/en-US/docs/Web/CSS/border-image$edit#Browser_compatibility" rel="nofollow, noindex"><span>Edit</span></a></h2> + +<p><span>TBD</span></p> |