Is it possible to create a div that takes on the shape shown in this image and then fill it with an image? Alternatively, is there a way to transform an image into that particular shape using CSS or Javascript?
Additionally, is it possible to arrange multiple of these shapes in the layout displayed in this picture?
I plan to group these shapes into rings similar to the design in the second image provided. The images will be dynamic, so I cannot pre-cut them.
*Update: After some research, I've discovered that the effect I am aiming for is called masking. In Webkit browsers, the property -webkit-mask-box-image works effectively (I can even use a .png image as the mask). However, when attempting to apply the same masking technique in Firefox using an .svg file created in Illustrator, it does not seem to work. Interestingly, the same .svg file functions correctly in Chrome using the -webkit-mask-box-image css property.