I have a div
that has position: fixed
, that is, it accompanies scroll
. But I have a problem. Since div
have text with a color, to pass over a div
% that is darker, the text is not visible. Is there any way to apply the css
or%% js
for when he came to this div
% change to another color?
Here is the code I have:
<div style="position:fixed;right:10px;top: 50%;transform: translateY(-50%);"><i class="fa fa-chevron-right fa-5x"></i></div>
I know I should not use% style
on line but as it is only while testing phase, I am doing so for easier handling of the code.
I've heard of the mix-blend-mode
method, but I have not been able to put it into practice. How could I use this method?