mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
14 lines
570 B
HTML
14 lines
570 B
HTML
<style>
|
|
html, body {
|
|
margin: 0;
|
|
}
|
|
</style>
|
|
<div style="filter: drop-shadow(50px 50px 20px red)">
|
|
<div style="width:256px; height:256px; border-radius:16px; overflow:hidden">
|
|
<div style="width:256px; height:256px; background-color:green;"></div>
|
|
</div>
|
|
</div>
|
|
<!-- add white divs on top to simulate the clip from the test file -->
|
|
<div style="background-color: white; position:absolute; left: 0; top: 0; width: 100px; height: 700px"></div>
|
|
<div style="background-color: white; position:absolute; left: 0; top: 0; width: 700px; height: 100px"></div>
|