In order for the mix-blend-mode style to work, you need to have a background color set for your main container element—even if you’re using an image over top of it.
Once I set the background color of the .d-product-grid div to white and applied the code within an embed element, I was able to see the effect:
For reference, here’s the code I added to your HTML Embed element:
Hello, I am trying to do a similar thing. I have an embedded SVG in my Nav that I’ve applied mix-blend-mode: difference to. I have the background of the body, and other parent elements set to white. Can’t figure out what the blend mode isn’t working:
You need to make the change on the parent container, not the embed element. Moving the mix-blend-mode: difference to the navbar class enables the effect:
Hi there, i have a similar problem with the “mix-blend-mode: difference” effect.
I created a fixed bar with textfilds in side wich lay on top of collection lists elements (slides), as i really like the effect and also will have a black layover (when clicking on /info) i need it to, so the text will be white when the black background lays over.
however i read this discussion which brought me closest, but still it won’t work, as my situation might be a little different from yours!?
Anyways, i would be happy if you could take a look at my link and maybe figure out what i am missing/doing wrong here?
Hey @mikeyevin - I’ve been trying for hours to achieve the same effect. Any possibility you can take a look? Im sure you could Figure out whats wrong in minutes.