Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Masking: clip-path: clip path geometry box</title>
<link rel="author" title="CJ Ku" href="mailto:cku@mozilla.com">
</head>
<body>
<svg width="200" height="200" style="position: absolute; left: 0px; top: 0px;">
<polygon points="100,50 150,100 150,150 50,150 50,100" fill="blue"/>
</svg>
</body>
</html>