@KevinPowell
  @KevinPowell
Kevin Powell | Using currentColor with color-mix is amazing @KevinPowell | Uploaded February 2024 | Updated October 2024, 1 hour ago.
Looking to step up your CSS game? I have free and premium courses πŸ‘‰ kevinpowell.co/courses?utm_campaign=general&utm_source=youtube&utm_medium=color-mix-currentcolor

πŸ”— Links
βœ… Intro do color-mix(): youtu.be/I9zHX-jSKpA
βœ… color-mix() browser support: caniuse.com/mdn-css_types_color_color-mix

⌚ Timestamps
00:00 - Introduction
00:48 - A simple example of using color-mix() color-mix
02:50 - Using it for higher-contrast links
05:20 - A more advanced use-case
08:30 - Combined with light/dark modes
10:00 - prefers-contrast

#css

--

Come hang out with other dev's in my Discord Community
πŸ’¬ discord.gg/nTYCvrK

Keep up to date with everything I'm up to
βœ‰ kevinpowell.co/newsletter

Come hang out with me live every Monday on Twitch!
πŸ“Ί twitch.tv/kevinpowellcss

---

Help support my channel
πŸ‘¨β€πŸŽ“ Get a course: kevinpowell.co/courses
πŸ‘• Buy a shirt: teespring.com/stores/making-the-internet-awesome
πŸ’– Support me on Patreon: patreon.com/kevinpowell

---

My editor: VS Code - code.visualstudio.com

---

I'm on some other places on the internet too!

If you'd like a behind the scenes and previews of what's coming up on my YouTube channel, make sure to follow me on Instagram and Twitter.

Twitter: twitter.com/KevinJPowell
Codepen: codepen.io/kevinpowell
Github: github.com/kevin-powell

---

And whatever you do, don't forget to keep on making your corner of the internet just a little bit more awesome!
Using currentColor with color-mix is amazingCreate a clean, modern navigation with HTML & CSSChatting with Clark Sell on the current state of front-end, CSS, and moreAnd they say CSS isnt a programming language! CSS-only games are amazingA quick & fun CSS animation effectCreate a blog with a headless CMS // Full 3-hour course // Astro + Wix StudioCreating a layered card with HTML & CSSTurning off inheritance on custom props is more useful than Id thoughtWrite less code with these 5 CSS tipsnpm for absolute beginnersSelect all siblings of an element using :has()Incredible scroll-based animations with CSS-only

Using currentColor with color-mix is amazing @KevinPowell

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER