Skip to content

Instantly share code, notes, and snippets.

@calvinchengx
Created April 7, 2022 12:38
Show Gist options
  • Save calvinchengx/69d0d93aafd63a6388831261230e6356 to your computer and use it in GitHub Desktop.
Save calvinchengx/69d0d93aafd63a6388831261230e6356 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<clipPath id="cut-off-bottom">
<rect x="0" y="0" width="200" height="100" />
</clipPath>
</defs>
<circle cx="100" cy="100" r="100" clip-path="url(#cut-off-bottom)" />
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment