<!DOCTYPE html> | |
<style> | |
#box { | |
position: absolute; | |
width: 200px; | |
height: 200px; | |
background-color: green; | |
} | |
#filter { | |
position: absolute; | |
width: 200px; | |
height: 200px; | |
transform: translateZ(0); | |
-webkit-clip-path: circle(80px at 100px); | |
-webkit-backdrop-filter: invert(); | |
} | |
</style> | |
<div id="box"></div> | |
<div id="filter"></div> |