blob: f283cbce73bb078d8a80a201aac7aacdec866d45 [file] [log] [blame]
<!DOCTYPE html>
<html lang="en">
<head>
<style>
div {
margin: 20px;
width: 200px;
height: 200px;
background-color: green;
}
#clip {
background-color:red;
-webkit-clip-path: inset(0 -20px 0 20px);
}
</style>
</head>
<body>
<div id="clip"><div>
</body>
</html>