Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- Manifest: layout/reftests/backgrounds/reftest.list
<meta charset="utf-8">
<style>
body { overflow: hidden }
p {
margin: 1em 0;
padding: 1.4em;
font: 900 1.2em sans-serif;
position:absolute;
color: rgba(0,0,0,0);
}
.text {
background: red;
-webkit-background-clip: text;
background-clip: text;
transform: scale(20,2);
transform-origin: center;
left: 400px;
}
.wrapper {
border: black solid 80px;
transform: scale(2,0.3);
transform-origin: center;
left: 330px;
top: -75px;
}
</style>
<p class="text">█</p>
<p class="wrapper">█</p>