blob: 9da007eb2af667979874abfca2ee27d3d8986a58 [file] [log] [blame]
<style>
section {
height: 400px;
width: 300px;
position: relative;
}
p {
padding: 0;
margin: 0;
}
.parent {
position: absolute;
left: 150px;
top: 0;
width: 150px;
}
.filtered {
background: white;
-webkit-filter: invert();
}
</style>
<section>
<p class="break-after">Hello</p>
<div class="parent">
<p>Normal</p>
<p class="filtered">World</p>
<p>Normal</p>
</div>
</section>