aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/css/mask-border-mode/index.html
blob: d23aa62491a272c84ca8eb843acb9e9dab80060c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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>