Comments on: mix-blend-mode https://css-tricks.com Tips, Tricks, and Techniques on using Cascading Style Sheets. Sun, 21 Nov 2021 09:27:36 +0000 hourly 1 https://wordpress.org/?v=6.4.3 By: qubenpeet https://css-tricks.com/almanac/properties/m/mix-blend-mode/#comment-1786000 Sun, 21 Nov 2021 09:27:36 +0000 http://css-tricks.com/?page_id=200237#comment-1786000 In reply to Gabriele.

it has something to do with the grid layout.

if you change to block, and make the text overlap, it works.

like so https://codepen.io/qqqqqqq/pen/wvqZzvm

]]>
By: Gabriele https://css-tricks.com/almanac/properties/m/mix-blend-mode/#comment-1777382 Wed, 04 Aug 2021 14:05:46 +0000 http://css-tricks.com/?page_id=200237#comment-1777382 I have tried several times. I can’t get mix-blend-mode to work. Can you please help me?

https://codepen.io/Girardini/full/WNpGWYN

]]>
By: Louise CW https://css-tricks.com/almanac/properties/m/mix-blend-mode/#comment-1774179 Thu, 17 Jun 2021 16:39:28 +0000 http://css-tricks.com/?page_id=200237#comment-1774179 I have been looking at semantic html and was hoping to set the background on a tag. However, it doesn’t work, so I have to add a container div around the picture tag.
What’s the situation with elements that are also semantic html?

]]>
By: Geoff Graham https://css-tricks.com/almanac/properties/m/mix-blend-mode/#comment-1752265 Mon, 28 Oct 2019 16:21:31 +0000 http://css-tricks.com/?page_id=200237#comment-1752265 In reply to thsmn.

Hey there! The browser support data in this post is actually pulling directly from caniuse: https://caniuse.com/#feat=css-mixblendmode

What you’re seeing is probably the more updated result, which is the result of a recent partnership between caniuse and MDN: https://caniuse.com/#feat=mdn-css_properties_mix-blend-mode

Nice to know the data being pulled in isn’t the most recent — thanks!

]]>
By: thsmn https://css-tricks.com/almanac/properties/m/mix-blend-mode/#comment-1752260 Mon, 28 Oct 2019 14:59:36 +0000 http://css-tricks.com/?page_id=200237#comment-1752260 Contrary to this article mix-blend-mode does not work in MS Edge (Version 44.18362, Win 10). Just tested it. Caniuse.com also lists it as not supported.

]]>
By: MSCAU https://css-tricks.com/almanac/properties/m/mix-blend-mode/#comment-1672047 Tue, 05 Mar 2019 10:04:30 +0000 http://css-tricks.com/?page_id=200237#comment-1672047 I am disappointed to note that an image doesn’t blend with the page background at all. So if you have a red background on your BODY tag, and a photo in the page with a mix-blend-mode, the photo isn’t blended with the background. You need to put a red wrapper DIV around the image to see the blend: https://codepen.io/MSCAU/pen/ywarGV

]]>
By: Ben Van Looy https://css-tricks.com/almanac/properties/m/mix-blend-mode/#comment-1669057 Wed, 27 Feb 2019 07:31:49 +0000 http://css-tricks.com/?page_id=200237#comment-1669057 In reply to Steve.

I needed the blend mode yesterday, but didn’t need it on the children of my container..

It was just for a header, so I made one layer with the blend mode and another absolute layer that had the same items positioned the same way as my relative layer.

Sure, not the cleanest solution, but it does the trick for now

]]>
By: Techtiger255 CodeMode https://css-tricks.com/almanac/properties/m/mix-blend-mode/#comment-1653748 Sat, 08 Dec 2018 16:59:15 +0000 http://css-tricks.com/?page_id=200237#comment-1653748 In reply to Patrick D.

Mix-Background-Mode: ;
Should do your trick :D see it in action here:
Mozilla Developer Network
CSS Tricks

]]>
By: Andrey Zadvornov https://css-tricks.com/almanac/properties/m/mix-blend-mode/#comment-1653304 Sat, 17 Nov 2018 14:15:39 +0000 http://css-tricks.com/?page_id=200237#comment-1653304 Actually thats are standart. I haven’t checked but they must be coz i’ve been applying css thru “inspect element first so it must be working

]]>
By: Geoff Graham https://css-tricks.com/almanac/properties/m/mix-blend-mode/#comment-1653281 Fri, 16 Nov 2018 15:14:37 +0000 http://css-tricks.com/?page_id=200237#comment-1653281 In reply to Andrey Zadvornov.

Hey Andrey! I wasn’t able to find any of those selectors on the page — maybe a screenshot of the element in devtools?

]]>
By: Andrey Zadvornov https://css-tricks.com/almanac/properties/m/mix-blend-mode/#comment-1653161 Fri, 09 Nov 2018 17:43:50 +0000 http://css-tricks.com/?page_id=200237#comment-1653161 I try to implement it in here – bfmos.ru
It’s on WordPress, Enfold.
The thing that i try to change – is a small bar
with a phone number on the very top
The exmple of code i use is
#top .av_header_transparency #header_meta {
background: rgba(255,255,255,1);
mix-blend-mode: difference;
}

And the main question is – why mix-blend-mode
works on some elements, and doesn’t on others?
I think cssTricks gotta post such article)
(or i think i’ll google the same in the next minute)
Help please, i put a tick into Send Me Email to Notify me)

]]>
By: MaxArt https://css-tricks.com/almanac/properties/m/mix-blend-mode/#comment-1613274 Fri, 24 Nov 2017 11:41:47 +0000 http://css-tricks.com/?page_id=200237#comment-1613274 The first example doesn’t work anymore in Chrome since v58. In order to make it work again you need to add a white background behind the image, so the perfect place would be here:

html {
  background-color: white;
}
]]>
By: Stuart https://css-tricks.com/almanac/properties/m/mix-blend-mode/#comment-1611808 Sat, 16 Sep 2017 22:57:35 +0000 http://css-tricks.com/?page_id=200237#comment-1611808 In reply to Tomas M.

This still seems to be true today. Thanks for the comment.

]]>
By: Merlin https://css-tricks.com/almanac/properties/m/mix-blend-mode/#comment-1607476 Wed, 15 Mar 2017 00:30:03 +0000 http://css-tricks.com/?page_id=200237#comment-1607476 Depending on positioning needs, how about creating a separate div for your background (inside the container) and giving that your mix-blend-mode properties / effects and then continuing as per usual with your container elements? Example: https://codepen.io/Merlin007/pen/wJqEaZ

]]>
By: Scott Padgett https://css-tricks.com/almanac/properties/m/mix-blend-mode/#comment-1606306 Mon, 23 Jan 2017 17:51:37 +0000 http://css-tricks.com/?page_id=200237#comment-1606306 In reply to Scott Padgett.

You can see an example here -> http://www.perficient.com/services, inspect the red angle.

]]>