Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
<div class="result"> <!-- position: relative -->
<div class="photo"></div> <!-- position: absolute, z-index: 10 -->
<div class="shape"></div> <!-- position: absolute, z-index: 20 -->
</div>
Such a complex mask can be implemented by overlaying png, with a transparent place instead of a photo, on top of the photo. The bottom layer is a photo, the top layer is a png with a transparent center.
Hardly a layout with a vector. Svg won't work. css has pretty primitive mask options
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question