C
C
caof192019-06-28 19:43:54
css
caof19, 2019-06-28 19:43:54

How to change the background of a mask?

Hello, there is a problem. There is a 50x50 block, it should be red light, and the inner svg should be black, which is used as a mask. The mask is used so that when the block does not have the active class, the background becomes gray and the icon is white. I learned how to change the color of the icon, but I can't change the color of the block itself. Actually this is what it looks like now

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question