Skip to content
全部文档

mask-composite

用于控制多个遮罩如何组合的工具类。

快速参考

属性
mask-addmask-composite: add;
mask-subtractmask-composite: subtract;
mask-intersectmask-composite: intersect;
mask-excludemask-composite: exclude;

示例

基础示例

使用 mask-addmask-intersect 等工具类控制元素的多个遮罩如何组合:


<Tr original="Learn more about using variants in the [variants documentation](/4.x/hover-focus-and-other-states).">

在[变体文档](/4.x/hover-focus-and-other-states)中了解更多关于使用变体的信息。

</Tr>

文档译文以 MIT 协议授权;原文版权归 Tailwind Labs。湘ICP备2026005453号-2