mask-border-mode
CSS
property specifies the blending mode used in a
mask border
.
/* Keyword values */ mask-border-mode: luminance; mask-border-mode: alpha; /* Global values */ mask-border-mode: inherit; mask-border-mode: initial; mask-border-mode: unset;
luminance
The luminance values of the mask border image are used as the mask values.
alpha
The alpha values of the mask border image are used as the mask values.
| 初始值 |
alpha
|
|---|---|
| 适用于 |
all elements; In SVG, it applies to container elements excluding the
defs
element and all graphics elements
|
| 继承 | no |
| 计算值 | 如指定 |
| 动画类型 | discrete |
luminance | alpha
This property doesn't yet seem to have support anywhere. When browsers support it, it will specify the type of blending mode used for the mask border — luminance or alpha:
mask-border-mode: luminance; mask-border-mode: alpha;
| 规范 | 状态 | 注释 |
|---|---|---|
|
CSS Masking Module Level 1
The definition of 'mask-border-mode' in that specification. |
候选推荐 | 初始定义 |
No compatibility data found. Please contribute data for "css.properties.mask-border-mode" (depth: 1) to the MDN 兼容性数据存储库 .