Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Is there a way to change an item's colours WHILST SCROLLING depending on light or dark background colours?


annaamay

Question

Is there a way to change an item's colours depending on light or dark background colours?

Any item like a header, or nav.

I was wondering how we can implement colour change depending on section backgrounds.

For example, a fixed H1 text in the middle of the screen, how do we make the text change colour WHILST SCROLLING between light and dark background colors?

What's the best way to do this?

I was trying out with color-blend-mode:difference but the effects felt too much on the eyes.

Thanks in advance! ❤️ ❤️

Edited by annaamay
missed out text
Link to comment
  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

4 answers to this question

Recommended Posts

  • 0
On 10/10/2021 at 7:47 AM, zzlogan said:

@tuanphan yes, that would be great.  Would you be able to share the code on this one? thanks!

 

Do you use SS 7.0 or 7.1? Personal or Business or Commerce Plan?

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...