Keeping up with CSS: The features released in 2023
Channel: Kevin Powell
Date: 2023-11-23

✉️ Newsletter: https://kevinpowell.co/newsletter - 🎙️Podcast: https://kevinpowell.co/podcast - 📽️ Second channel: https://youtube.com/@generalmusings (video version of the podcast)

People ask me how I keep up with CSS and all the new features coming out... instead of worrying about how I do it though, I figured I'd do a recap of all the new stuff so you don't have to go hunting for it!

There have been so many new features released in 2023, and some relatively new features from 2022 have finally gained support in all the browser engines and have started to hit decent support numbers, and I cover as many as I could think of in this video.

🔗 Links
✅ Playlist of every video I mentioned in this video: https://www.youtube.com/playlist?list=PL4-IK0AVhVjNMhAxy8UC-SRbaPD5daKnH
✅ https://youtu.be/YnWPeA6l5UE
✅ https://youtu.be/OGJvhpoE8b4
✅ https://youtu.be/3ncFpP8GP4g
✅ https://youtu.be/snKm-VzJCOo
✅ https://youtu.be/I9zHX-jSKpA
✅ https://youtu.be/Zddz_R1RnfM
✅ https://youtu.be/3_-Je5XpbqY
✅ https://youtu.be/NDNRGW-_1EE
✅ https://youtu.be/R7aHcgIeATE
✅ https://youtu.be/dZHnAsYu2eU
✅ https://youtu.be/Qj0Qx8HpNUo
✅ More info on @scope: https://developer.chrome.com/articles/at-scope/
✅ More info on view transitions: https://developer.chrome.com/docs/web-platform/view-transitions/ and https://daverupert.com/2023/05/getting-started-view-transitions/ and https://chriscoyier.net/2023/04/11/expanding-grid-cards-with-view-transitions/
✅ Astro’s view transitions: https://docs.astro.build/en/guides/view-transitions/
✅ More info on lch: https://lea.verou.me/blog/2020/04/lch-colors-in-css-what-why-and-how/
✅ Why I suggested oklch() over lch(): https://evilmartians.com/chronicles/oklch-in-css-why-quit-rgb-hsl
✅ The lch color picker: https://lch.oklch.com/
✅ More on relative colors in CSS: https://developer.chrome.com/blog/css-relative-color-syntax/
✅ leading-trim article I showed: https://medium.com/microsoft-design/leading-trim-the-future-of-digital-typesetting-d082d84b202
✅ More on :user-valid and :user-invalid: https://web.dev/articles/user-valid-and-user-invalid-pseudo-classes?hl=en
✅ My demo on @scope: https://codepen.io/kevinpowell/pen/OJdQqBm/34875ea609e2305f01cdd53e5a23489e
✅ My demo on :user-valid and :user-invalid: https://codepen.io/kevinpowell/pen/RwvLoaP
My simple demo on relative colors: https://codepen.io/kevinpowell/pen/eYxVXjP

⌚ Timestamps
00:00 - Introduction
01:25 - Nesting
03:18 - :has()
04:54 - text-wrap: balance and pretty
07:00 - color-mix()
08:10 - lch and lab
11:27 - relative colors
13:00 - container queries
15:02 - cascade layers
17:38 - trig functions
18:38 - Newsletter + Podcast
19:10 - Subgrid
21:30 - view transitions
23:24 - animation-timeline: scroll()
24:25- scoped CSS
26:48 - :user-valid and :user-invalid
28:39 - text-box-trim and text-box-edge

#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 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: 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!