Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<title>A 'background-clip: text' background layer should blend with the underlying layer</title>
<link rel="match" href="clip-text-blend-mode-ref.html">
<style>
#target {
font-size: 100px;
background-image: linear-gradient(#f00, #f00), linear-gradient(#ff0, #ff0);
background-color: red;
background-blend-mode: difference, normal;
background-clip: text;
color: transparent;
}
</style>
<div id="target">X</div>