A plugin that provides mask css utility (mask-image for the moment).
<img class="mask-image-simple" src="https://source.unsplash.com/random"/>
yarn add tailwindcss-mask -D
The masks configuration must be an object or a function returning an object.
plugins: [
require('tailwindcss-mask'),
],
- Remove lodash
- Custom mask
- More mask features