blob: f5cba31bba226e5e4bf8bdea527d38a8e1a59feb [file] [log] [blame]
<!DOCTYPE html>
<style>
.clipped {
width: 100px;
height: 200px;
background-color: green;
-webkit-clip-path: polygon(0% 0%,100% 0%,100% 50%,0% 50%);
clip-path: polygon(0% 0%,100% 0%,100% 50%,0% 50%);
box-shadow: 100px 0px red;
}
</style>
<div class="clipped"></div>