I'm having an issue with the mix-blend-mode property in Chrome, as it's not functioning correctly. However, it works perfectly fine on Firefox and Safari. My goal is to achieve a cutout text effect. Thank you for any assistance!
h1 {
mix-blend-mode: screen;
background: white;
color: black;
}
body {
background: url("https://images.unsplash.com/photo-1530518854704-23de978d2915?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=6a5e654b18d678b37850cefea5872008&auto=format&fit=crop&w=2477&q=80")
no-repeat left / cover;
}
h1 {
font-family: "Righteous", cursive;
mix-blend-mode: screen;
display: flex;
flex-flow: column;
padding: 0.5em;
margin: 0;
font-size: 6em;
line-height: 0.95;
background: white;
color: black;
text-transform: uppercase;
max-width: max-content;
}
<h1>
<span>Simple</span>
<span>Cutout</span>
<span>Heading</span>
<span>Effect</span>
</h1>
Check out the working code on codepen