Source code

Revision control

Copy as Markdown

Other Tools

<!--
Any copyright is dedicated to the Public Domain.
-->
<!DOCTYPE html>
<html>
<head>
<title>CSS Masking: Reference for clip-path's inset function 001</title>
<link rel="author" title="Manish Goregaokar" href="mailto:manish@mozilla.com">
<style type="text/css">
#square {
width: 100px;
height: 100px;
border: solid green 40px;
background-color: green;
position: relative;
top: 10px;
left: 10px;
}
</style>
</head>
<body>
<p>The test passes if there is a green square not touching the edges</p>
<div id="square"></div>
</body>
</html>