Is there a way to ensure that text adjusts automatically to a background transition from one color to another using only CSS? I've tried using "mix-blend-mode:difference" from a forum, but it had no effect on the text.
.container{
color: white;
background-color: black;
background-image: linear-gradient(white, black);
width:100%;
margin:0px;
padding:0px;
}
body{
width:100%;
margin:0px;
}
Check out this JS Fiddle for reference.