How to use mix-blend-mode, and how to avoid problems with it

  Рет қаралды 76,842

Kevin Powell

Kevin Powell

Күн бұрын

Пікірлер: 78
@zachjensz
@zachjensz 3 жыл бұрын
6:50 Kevin: My favourite thing in the world which is a Pseudo Element Kevin's Kids: 😢
@KevinPowell
@KevinPowell 3 жыл бұрын
😂😂
@Timooooooooooooooo
@Timooooooooooooooo 3 жыл бұрын
Surely his kids would be a kevin::after pseudo element?
@GauravKumar-ue7nz
@GauravKumar-ue7nz 3 жыл бұрын
@@Timooooooooooooooo lol
@Mark_MKII
@Mark_MKII 3 жыл бұрын
Thanks for the video - it's crazy how much you can do with CSS now! To clarify one point, 'multiply' darkens the image by 'multiplying' the color values of the upper layer onto the lower layer (not just letting darker pixels through). Even pixels from the lower layer that are darker than the upper layer are darkened *further*. Not sure about CSS, but in Photoshop the 'darken' blending mode is closer to what's described in the video.
@srinathmuthusamy9661
@srinathmuthusamy9661 3 жыл бұрын
I haven't used CSS mix blend mode but hope that's useful waiting for the premier
@TheZamirOrion
@TheZamirOrion Жыл бұрын
You are definitely the best, interesting, in-depth and at the same time bite-sized ressource. Thank you so much. You made me love CSS again.
@valeriomattera7277
@valeriomattera7277 3 жыл бұрын
Brilliant, just yesterday I used mix blend mode at work and this video gave me a better understanding of its use. Thank you!
@rhvsingh
@rhvsingh 3 жыл бұрын
Today, I was searching for mix-blend-mode and found some useful information and now you made a video on it. Now I will master it. 😄😄😄
@shubhamsingh1409
@shubhamsingh1409 3 жыл бұрын
I have used mix-blend-mode a lot but could not figure out the gradient look. Thank you Kevin.
@tushardorale5347
@tushardorale5347 3 жыл бұрын
You are amazing!!! Because of you I'm falling in love with CSS ❤️
@Colstonewall
@Colstonewall 3 жыл бұрын
You are the "CSS KING." No doubt about it.
@crunckNATIon
@crunckNATIon 3 жыл бұрын
This came right on time to my suggested videos...now I'm going to watch the css blend modes
@francolamattina1803
@francolamattina1803 3 жыл бұрын
Love your content, really enjoyable for learning and entretainment. Thank u!
@lindascoon4652
@lindascoon4652 2 жыл бұрын
css is so painful, thank you for helping ease the pain a little
@Stoney_Eagle
@Stoney_Eagle 3 жыл бұрын
I don't see that being used anywhere but it looks really good. I'm fixated on that scroll animation hehe, looks like a pool ball kicking another 🎱
@peternicholson26
@peternicholson26 3 жыл бұрын
Definitely need to be using this more in my hero sections. Good share and great expansion as always chief
@bramvanoverveld6982
@bramvanoverveld6982 3 жыл бұрын
the "mix-blend-mode: difference", is to take the opposite of each color, so on 4:32 you see a black screen because the default screen on photoshop is white
@Norell88
@Norell88 3 жыл бұрын
The timing... synchronicity. Thank you for this. :)
@meghakg6283
@meghakg6283 3 жыл бұрын
Hey, Kevin! Learning sooo much from your videos. It's fun, love your videos. Thank youuu😇🙏
@kevincrinklaw7422
@kevincrinklaw7422 3 жыл бұрын
Hey, side note but that's a nice use of position: sticky on the scrollups. I think it made for a nice demo. (Although if it's something different, I'd be curious to know what).
@KevinPowell
@KevinPowell 3 жыл бұрын
Yeah, I love position sticky 😁
@theman7050
@theman7050 2 жыл бұрын
Ohh that isolation is such a handy tip. Thanks, man ✌🏽😁
@mdshadab1102
@mdshadab1102 3 жыл бұрын
Great! CSS property Love to learn CSS from U Love❤❤ from India🇮🇳
@picturit
@picturit 3 жыл бұрын
Instead of setting z-index, in this case, using a ::before I/o an ::after would solve the issue imho.
@KevinPowell
@KevinPowell 3 жыл бұрын
A lot of people have said that, but it doesn't work. mix-blend-mode creates a new stacking context by default, so either way it's on top.
@AmlanDasKarmakar
@AmlanDasKarmakar 3 жыл бұрын
I think we can also go for ::before pseudo element instead of working with isolation and z-index in this context.
@Tom-xi4vk
@Tom-xi4vk 3 жыл бұрын
Yes indeed, then the text is automatically added after that one and has a better z-index by default :-)
@VasilyPavlik
@VasilyPavlik 3 жыл бұрын
Looks absolutely fantastic! Thanks a lot
@thcdenton
@thcdenton 3 жыл бұрын
3:58 "Acid Trip Kevin isn't real. He can't hurt you."
@Aabara_ka_dabara
@Aabara_ka_dabara Жыл бұрын
what is the diffrence between background-blend-mode and the mix-blend mode? can you please tell me or make a video on this.
@dave6012
@dave6012 3 жыл бұрын
This layout example reminds of an issue I’m sure you could give some insight on. That is, what are design best practices when making this type of hero layout responsive?
@nyarehd
@nyarehd 3 жыл бұрын
I'm gonna use this in my portfolio project.
@makeitbollywood
@makeitbollywood 3 жыл бұрын
love it
@dysb
@dysb Жыл бұрын
I'm working on a site where user's can specify their own background image. Is there a blend mode that is good at providing contrast against an arbitrary background?
@gamertag8721
@gamertag8721 3 жыл бұрын
nice use of Sticky to show comparison :)
@hagergamal2856
@hagergamal2856 2 жыл бұрын
Amazing video 👍 Could u make a video on using sticky that explains how u made it up and down 👍
@yaldakarimi3772
@yaldakarimi3772 3 жыл бұрын
Still the best! Could you show how you did that scroll thing as well? Looked cool
@RaveKev
@RaveKev 3 жыл бұрын
Is inside the codepen. Sections and sticky positions
@normanomli8703
@normanomli8703 3 жыл бұрын
hi kevin i have an issue where background image loses its transparency during a bootrap carousel transition, any idea why?
@BadmintonAllOut
@BadmintonAllOut 3 жыл бұрын
Sir, can we tap the background under the .overlay? Tq
@XTANCE
@XTANCE 3 жыл бұрын
Anyone knows whats the font for the thumbnail of video? "CSS" word
@afzalmahmudd8365
@afzalmahmudd8365 3 жыл бұрын
Love you. Make a video about staking context. Please. I love you❤️
@pulkitsaxena7668
@pulkitsaxena7668 3 жыл бұрын
how does he comment the line with shortcut... I have searched alot and I cant find the shortcut to comment.. Does anyone know how to do it?
@anulama2191
@anulama2191 3 жыл бұрын
Ctrl+/ ?
@Billiam112
@Billiam112 3 жыл бұрын
Non related to your vid Kevin; What are your thoughts on Tailwind? I just saw a video of new features for tailwind and just wanted to hear Your thoughts on it and just commented on the first video I could find of yours. 😁 Personally, I'm worried about css knowledge in the community would decrease tremendously, if tailwind becomes sort of standard. I mean, it has the obvious benefits of styling things incredible fast. Do you have a video on this topic? If not, perhaps the topic would be interesting enough for one? Allt the best to you!
@fuad7258
@fuad7258 3 жыл бұрын
please make a video with slick slider
@_ap__
@_ap__ 3 жыл бұрын
Hi Kevin. Big fan of your CSS tutorials. Wanted to ask if there is any possibility of you making an Intermediate level tutorial of Customizing Bootstrap -5 with SASS and Bootstrap's new Utility API? Any thoughts?
@KevinPowell
@KevinPowell 3 жыл бұрын
I don't have any plans on covering Bootstrap anytime soon, sorry.
@bimalpandey9736
@bimalpandey9736 2 жыл бұрын
If I use transform property, that mix-blend-mode magic disappears, anyone know why?
@shinmini99
@shinmini99 Жыл бұрын
Thank you Kevin :)
@krishjgupta3017
@krishjgupta3017 3 жыл бұрын
Plz make a video on eliminate vertical scroll bar
@KevinPowell
@KevinPowell 3 жыл бұрын
Hopefully you mean horizontal? I've looked at debugging in the past... sometimes things like 'overflow-x: hidden' are useful for that though, but it can be good to find what's causing it.
@Jarreddesigns
@Jarreddesigns 3 жыл бұрын
love the new music lol
@mountainslopes
@mountainslopes 3 жыл бұрын
Couldn't you just use ::before instead of ::after to make it behind the text?
@KevinPowell
@KevinPowell 3 жыл бұрын
Nope, same result. Try it out in the codepen :) - as soon as we declare position: absolute, it's pulled from the flow and going on top.
@emon123utube
@emon123utube 3 жыл бұрын
Dear Sir, your all video tutorial undoubtedly best on KZbin, your viewer all over the world, so for Non native English people like us its hard to understand while you talk too much fast in every tutorial, so i request you please while you talk please think about for non-native people
@KevinPowell
@KevinPowell 3 жыл бұрын
Been trying to slow down for 5 years now, it's hard 😂. You can slow the video down in the settings, and also turn on captions. I do my best to slow down as well!
@GauravKumar-ue7nz
@GauravKumar-ue7nz 3 жыл бұрын
Thank you Kevin
@GbpsGbps-vn3jy
@GbpsGbps-vn3jy 3 жыл бұрын
- Hey, someone mix-blends Kevin Powell in Photoshop! - Dude, this is HIS channel ... - Oh, ok ... nevermind!
@عقيلمحمد-ب3ن
@عقيلمحمد-ب3ن 3 жыл бұрын
thanks Kevin
@polthm
@polthm 3 жыл бұрын
Why not use a "background-color: rgba()" for this example ?
@KevinPowell
@KevinPowell 3 жыл бұрын
Same result as when I dropped the opacity 🙂
@polthm
@polthm 3 жыл бұрын
But the texts are not affected, no ?
@KevinPowell
@KevinPowell 3 жыл бұрын
@@polthm that's true, it's easier to do, it just doesn't look as nice though.
@itsPenguinBoy
@itsPenguinBoy 3 жыл бұрын
Sadly chrome on android does the wrong blend modes 😕
@endenman1872
@endenman1872 3 жыл бұрын
Before i used rgba or hsl as the background, now i use mix blend mode!
@Jarreddesigns
@Jarreddesigns 3 жыл бұрын
you should do youtube shorts with some of these small tips you always mention, should give you a bigger audience
@mythrail
@mythrail Жыл бұрын
This would be a good video to show off the 'Layers' panel in chrome dev tools, provides a great way to visualize the stacking contexts. kzbin.info/www/bejne/bJvIZWyAa5yHh80
@ShaunLevett
@ShaunLevett 3 жыл бұрын
I quite often use a color mix blend with a layer over the top of images in signposts, then fade the opacity of it in on hover. So you get a nice tinted hover, but man Safari doesn't like animating that stuff. Terrible flickering. Had to throw on the traditional 'transform3d(0,0,0)' to help it, but looks totally different when I do this. I've accepted Safari isn't very good and moved on.
@AidaHashemii
@AidaHashemii 11 ай бұрын
awesome
@nomadshiba
@nomadshiba 3 жыл бұрын
epic
@Dexter101x
@Dexter101x 3 жыл бұрын
A bit like photoshop... Later on: Oh you know already
@mikul3122
@mikul3122 3 жыл бұрын
text-shadow?
5 super useful CSS properties that don't get enough attention
16:23
Kevin Powell
Рет қаралды 149 М.
Write better CSS using logical properties
20:40
Kevin Powell
Рет қаралды 51 М.
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
Top 10 CSS One Liners That Will Blow Your Mind
13:34
developedbyed
Рет қаралды 989 М.
CSS position deep dive
28:14
Kevin Powell
Рет қаралды 112 М.
Flexbox is more complicated than you thought
22:42
Kevin Powell
Рет қаралды 155 М.
A deep dive into CSS color-mix()
18:06
Kevin Powell
Рет қаралды 29 М.
Please stop using px for font-size.
15:18
Coder Coder
Рет қаралды 249 М.
Make Awesome SVG Animations with CSS // 7 Useful Techniques
12:20
How Do Linux Kernel Drivers Work? - Learning Resource
17:02
LiveOverflow
Рет қаралды 566 М.
3 modern CSS techniques for responsive design
14:32
Kevin Powell
Рет қаралды 216 М.
I Redesigned the ENTIRE YouTube UI from Scratch
19:10
Juxtopposed
Рет қаралды 1 МЛН