Mask 将元素的内容修剪成常见的形状。
类名 | 类型 | |
---|---|---|
mask | 组件类 | Masks the content with shape |
mask-squircle | 装饰类 | Applies `squircle` shape |
mask-heart | 装饰类 | Applies `heart` shape |
mask-hexagon | 装饰类 | Applies `hexagon` shape |
mask-hexagon-2 | 装饰类 | Applies `hexagon` alternative shape |
mask-decagon | 装饰类 | Applies `decagon` shape |
mask-pentagon | 装饰类 | Applies `pentagon` shape |
mask-diamond | 装饰类 | Applies `diamond` shape |
mask-square | 装饰类 | Applies `square` shape |
mask-circle | 装饰类 | Applies `circle` shape |
mask-parallelogram | 装饰类 | Applies `parallelogram` shape |
mask-parallelogram-2 | 装饰类 | Applies `parallelogram` alternative shape |
mask-parallelogram-3 | 装饰类 | Applies `parallelogram` alternative shape |
mask-parallelogram-4 | 装饰类 | Applies `parallelogram` alternative shape |
mask-star | 装饰类 | Applies `star` shape |
mask-star-2 | 装饰类 | Applies `star` alternative shape |
mask-triangle | 装饰类 | Applies `triangle` shape |
mask-triangle-2 | 装饰类 | Applies `triangle` alternative shape |
mask-triangle-3 | 装饰类 | Applies `triangle` alternative shape |
mask-triangle-4 | 装饰类 | Applies `triangle` alternative shape |
mask-half-1 | 装饰类 | Crops only the first half of mask |
mask-half-2 | 装饰类 | Crops only the second half of mask |