Mask
Introduces a new TailwindCSS utility class for mask
property.
Depends on CSS properties defined in src/theme/config/mask.css
TailwindCSS v4
You can add more via the @theme
at-rule, see Config for more info.
Include CSS file with the @utility
at-rule.
css
@import "winduum/tailwindcss/utilities/mask.css";
TailwindCSS v3
You can add more in the tailwind.config.js
, see Config for more info.
Example
html
<div class="mask-check size-6 bg-primary"></div>