Question:
Is CSS mix-blend-mode (difference) supported/achievable in Wix Studio?
Product:
Wix Studio
What are you trying to achieve:
We need an element, e.g. text or vector to invert colors based on current background. Say a logo and title to have inverted colors on video background or when scrolling a page.
What have you already tried:
Searched Forums, topics, support docs. No definitive or clear answer. Tried a few codes but no luck.
Additional information:
Very desirable feature. It’d be a huge favor if someone has a solution.
Thank you for your answer it’s very insightful. We’ll try to do our best, although we are not coders so I would really appreciate if you shared the piece of code if you find it.
Hi Julius, same problem - looking in vain for an integration of the mix-blend-mode (difference); in the meantime I have helped myself with the animations available in WixStudio - it’s a simple change from black to white and vice versa. Perhaps the numerous animations in WixStudio will help you; the website: https://hedrich1.wixstudio.io/black-version
Hi Daniel, sorry for the late reply; I’m desperately trying to generate a custom element in Wix Studio. The following code refers to your request; I noticed that “mix-blende-mode” doesn’t work in a pinned header, strangely enough; I then detached the header on the global set and put it at the top as a normal section - after that it suddenly worked. Why? I don’t know either. For this reason, position:fixed is entered in my example.
Ah yes, for elements with standard or sticky position this works. But I need to add the mix-blend-mode to a pinned element in the Header…and for some reason that does not work.
Do you have similiar experience? Or did you find a solution to this? Thank you
I too wanted our logo in header to change based on current background when scrolling. Neither the code or native solution worked for me unfortunatelly. I refuse to believe it’s not doable though but I had no luck finding a solution. If anyone here knows how, or you come accross a solution plese let me know. Thanks!