Source code
Revision control
Copy as Markdown
Other Tools
<!-- Any copyright is dedicated to the Public Domain.
<!DOCTYPE html>
<meta charset="utf-8">
<style>
html, body {
height: 100%;
margin: 0;
}
#inset {
/* clip-path gets added with JavaScript */
width: 100%;
height: 100%;
background: #f06;
}
</style>
<div id="inset"></div>