<!doctype html> | |
<title>CSS Test Reference</title> | |
<style> | |
.text { | |
background-color: blue; | |
color: transparent; | |
font: 50px/1 monospace; | |
-webkit-background-clip: text; | |
background-clip: text; | |
height: 200px; | |
} | |
.prev { | |
height: 100px; | |
} | |
p { | |
color: transparent; | |
} | |
</style> | |
<div class="text"> | |
<div class="prev"></div> | |
<div class="inner"> | |
<p>XxX</p> | |
</div> | |
</div> |