Hello!
I am trying to make an awesome effect
I would like to change the color of the text, to be inverted according to the background of each section/div.
From my search, I think that I have to use this attributes as styles.
What I have try so fat but not working as I like it, is this one. I am trying to make the text to be black outside of the div, but change and make it's color difference as it hovers over the green box.
If you have any suggestions, I would love to hear them!
I am trying to make an awesome effect
I would like to change the color of the text, to be inverted according to the background of each section/div.
From my search, I think that I have to use this attributes as styles.
Code:
mix-blend-mode: difference;
filter: invert(1);
What I have try so fat but not working as I like it, is this one. I am trying to make the text to be black outside of the div, but change and make it's color difference as it hovers over the green box.
If you have any suggestions, I would love to hear them!