Answer the question
In order to leave comments, you need to log in
How to set a background for an svg shape?
Hello. Question, there is a figure on svg through polygon. I want this shape to have an image as a background.
Those. if you just make a background in svg, it will be a square. And I need the figure to crop the image, so that this background is visible only inside this figure.
Can this be done?
Answer the question
In order to leave comments, you need to log in
Use this shape as the SVG clip-path for the image. css.yoksel.ru/css-and-svg-masks
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question