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