A
A
Aljo2021-06-14 16:27:02
css
Aljo, 2021-06-14 16:27:02

Change text color based on block color below it?

Hello!

The site has two white texts on the left and right margins with position: fixed .
Is it possible to change the color of the text depending on the background color of the block that is at the moment of scrolling under it?

On the screen, I highlighted one of the texts in red.
60c759242175e363105735.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question