<!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>
