Created
June 12, 2012 04:26
-
-
Save sawyerh/2914956 to your computer and use it in GitHub Desktop.
SVG Clippath
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a xlink:href="http://example.com"> | |
<image clip-path="url(#hex-mask)" height="100%" width="100%" xlink:href="image.jpg" /> | |
</a> |
@mumabah : any luck? I am trying to do similar. I need to mask HTML elements and I am thinking SVG is it... not too many examples or options that satisfy my requirements...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is kind why I need for my project but instead of doing it on a single image I need to clip a ul inside a foreign object. Is there a way to do that?