tubeshowcase●1,670,700 videos♡ My collection 0
← Learn to Code

Learn to Code05:19

A new way to write media queries is coming to CSS: range syntax

Kevin Powell ↗

From the creator

A lot of people have been asking about the shirt! Here it is: https://making-the-internet-awesome.creator-spring.com/listing/api-by-day-ipa-by-night Heads up, this is only working in Firefox right now, and even then, only partially supported! This video is a part of my looks ahead at what's coming to CSS 😊. As I mention in the video, I also recently talked about container queries, which are sooo exciting: https://youtu.be/JsN_iE3prm0 🔗 Links ✅ The level 4 specification for media queries: https://www.w3.org/TR/mediaqueries-4/#mq-range-context ✅ MDN explanation of the range type media query: https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Using_media_queries#syntax_improvements_in_level_4 ✅ Browser Compatibility chart (look for "range syntax from Media Queries level 4" in the chart): https://developer.mozilla.org/en-US/docs/Web/CSS/@media#browser_compatibility #css -- Come hang out with other dev's in my Discord Community 💬 https://discord.gg/nTYCvrK Keep up to date with everything I'm up to ✉ https://www.kevinpowell.co/newsletter Come hang out with me live every Monday on Twitch! 📺 https://www.twitch.tv/kevinpowellcss --- Help support my channel 👨‍🎓 Get a course: https://www.kevinpowell.co/courses 👕 Buy a shirt: https://teespring.com/stores/making-the-internet-awesome 💖 Support me on Patreon: https://www.patreon.com/kevinpowell --- My editor: VS Code - https://code.visualstudio.com/ --- I'm on some other places on t

Published 2021-06-08 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code