Here is my current HTML:
.titleText {
font-family: Hacked;
font-size: 8rem;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 80%;
text-align: center;
}
.titleContainer {
position: relative;
}
body {
margin: 0;
}
<!DOCTYPE html>
<div class="titleContainer">
<img src="assets/ethan.png">
<h1 class="titleText">Ethan Brand</h1>
</div>
I want the text over the image to be the "opposite of transparent", inversing the color behind each pixel of text. I found this: How can I invert color using CSS? but that changes all of the text, not taking the inverse of each pixel.
Thanks!