Skip to content

Instantly share code, notes, and snippets.

@sawyerh
Created June 12, 2012 04:26
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save sawyerh/2914956 to your computer and use it in GitHub Desktop.
Save sawyerh/2914956 to your computer and use it in GitHub Desktop.
SVG Clippath
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mumabah
Copy link

mumabah commented Aug 3, 2012

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?

@dapinitial
Copy link

@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