Run ❯
Get your
own
website
Result Size:
625 x 565
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
<!DOCTYPE html> <html> <body> <h2>SVG clipPath Element</h2> <svg width="200" height="100" xmlns="http://www.w3.org/2000/svg"> <defs> <clipPath id="cut-bottom"> <rect x="0" y="0" width="200" height="50" /> </clipPath> </defs> <circle cx="50" cy="50" r="50" fill="red" clip-path="url(#cut-bottom)" /> Sorry, your browser does not support inline SVG. </svg> </body> </html>