All Questions
2
questions
2
votes
1
answer
672
views
How would I go about clipping or masking an element by the shape of an SVG?
I have a multipath SVG that I would like to use to clip a CSS element. How would I go about making it so that the only part of the element I see is within the SVG? In other words, how would I make it ...
1
vote
2
answers
767
views
Clip-path/web-kit-mask works when SVG is seperate file, but not when inline
I am using the following implementation to mask an element using an SVG and some CSS.
//styles.css
.elementToBeMasked {
width: 100%;
height: 100%;
position: absolute;
z-index: 1;
...