min(), max(), and clamp() are CSS magic!

Frontend / Web Development 317.1K צפיות 21/04/2020
פתח ב-YouTube

דרג סרטון זה

התחבר כדי לדרג

תיאור

CSS has come a long way, but min(), max(), and clamp() make a lot of things a lot easier than they used to be, and really open up the world of responsive typography like we never had before! Clamp() is the ingredient that we've needed for a long time to really be able to make type fully responsive in our CSS, and to be able to do it on one line is absolute magic! Until Safari gets there too, we can use it, but with the help of feature queries, which I made a video on here: https://youtu.be/wPI8CEoheSk If you'd like to learn more about viewport units like `vw` and `vh`: https://youtu.be/IWFqGsXxJ1E #css #responsive #typography -- 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 --- Help support my channel Get a course: https://www.kevinpowell.co/courses Buy the t-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/ How my browser refreshes when I save: https://youtu.be/h24noHYsuGc --- 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. Instagram: https://www.instagram.com/kevinpowell.co/ Twitter: https://twitter.com/KevinJPowell Codepen: https://codepen.io/kevinpowell/ Github: https://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!

NeTube Bot
פעיל עכשיו