mask-border-mode

Experimental: 这是一个实验中的功能
此功能某些浏览器尚在开发中,请参考浏览器兼容性表格以得到在不同浏览器中适合使用的前缀。由于该功能对应的标准文档可能被重新修订,所以在未来版本的浏览器中该功能的语法和行为可能随之改变。

CSS属性指定使用的混合模式面具边界mask-border-mode

Syntax

/* 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

掩模边界图像的亮度值用作掩模值。

alpha

掩模边界图像的亮度值用作掩模值。

形式语法

mask-border-mode = 
luminance |
alpha

规范

No specification found

No specification data found for css.properties.mask-border-mode.
Check for problems with this page or contribute a missing spec_url to mdn/browser-compat-data. Also make sure the specification is included in w3c/browser-specs.

初始值alpha
适用元素all elements; In SVG, it applies to container elements excluding the defs element and all graphics elements
是否是继承属性
计算值as specified
Animation typediscrete

浏览器兼容性

No compatibility data found for css.properties.mask-border-mode.
Check for problems with this page or contribute missing data to mdn/browser-compat-data.