Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<title>CSS Masking: Test clip-path nonzero path interpolation with zoom</title>
<style type="text/css">
#rect {
width: 300px;
height: 300px;
background-color: green;
clip-path: path('M105,105 H270 V270 H105Z M75,75 H210 V210 H75Z');
}
</style>
<div id="rect"></div>