I want to use a mask in CSS to mask an element.
But it repeats in entire of my element.
I want only one mask in a specific position.
This what I have right now:
But I want something like this:
For the record, I know there is a mask-repeat
property in CSS. But it only works with repeat-x
and repeat-y
values.
So, how can I have only one mask in my element?