Source code
Revision control
Copy as Markdown
Other Tools
<style>
p {
margin: 1em 0;
padding: 1.4em;
background: linear-gradient(60deg, red, yellow, red, yellow, red);
font: 900 1.2em sans-serif;
text-decoration: underline;
-webkit-background-clip: text;
color: rgba(0,0,0,.2);
}
</style>
<p>The background is clipped to the foreground text.</p>