Uploaded April 2025 | Updated November 2026, 3 hours ago
There are a lot of annoying things in CSS, but this one takes the cake, at least for me.
š Links
ā Code from this video: codepen.io/kevinpowell/pen/RNwXbEw/b5ad9f3bada165e4e68b1d0c02e76602
ā The part of the spec on this: drafts.csswg.org/css-transforms-1/#css-values
ā Fix z-index animation/transition issues: youtu.be/ocl4eN9IrD0
ā Timestamps
00:00 - Introduction
00:28 - Even dev tools don't help
00:50 - Inline elements and transforms
01:45 - This is part of the spec
02:16 - How to fix it
03:26 - Another annoying feature
#css
ā Keep up to date with everything I'm up to kevinpowell.co/newsletter
š¬ Come hang out with other devs in my Discord Community discord.gg/nTYCvrK
ā Are you a beginner? HTML & CSS for absolute beginners is for you: learn.kevinpowell.co
š Start writing CSS with confidence with CSS Demystified: [https://cssdemystified.com](https://cssdemystified.com/)
š Already mastered CSS? Check out my advanced course, Beyond CSS: https://www.beyondcss.dev/
---
Help support my channel
šØāš Get a course: kevinpowell.co/courses
š Buy a shirt: cottonbureau.com/people/kevin-powell
š Support me on Patreon: patreon.com/kevinpowell or through YT memberships: youtube.com/@KevinPowell/join
---
š§āš» My editor: VS Code - code.visualstudio.com
š My theme: One Dark Pro Var Night
š¤ My font: Cascadia Code
---
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:
Bluesky: https://bsky.app/profile/kevinpowell.co
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!
There are a lot of annoying things in CSS, but this one takes the cake, at least for me.
š Links
ā Code from this video: codepen.io/kevinpowell/pen/RNwXbEw/b5ad9f3bada165e4e68b1d0c02e76602
ā The part of the spec on this: drafts.csswg.org/css-transforms-1/#css-values
ā Fix z-index animation/transition issues: youtu.be/ocl4eN9IrD0
ā Timestamps
00:00 - Introduction
00:28 - Even dev tools don't help
00:50 - Inline elements and transforms
01:45 - This is part of the spec
02:16 - How to fix it
03:26 - Another annoying feature
#css
ā Keep up to date with everything I'm up to kevinpowell.co/newsletter
š¬ Come hang out with other devs in my Discord Community discord.gg/nTYCvrK
ā Are you a beginner? HTML & CSS for absolute beginners is for you: learn.kevinpowell.co
š Start writing CSS with confidence with CSS Demystified: [https://cssdemystified.com](https://cssdemystified.com/)
š Already mastered CSS? Check out my advanced course, Beyond CSS: https://www.beyondcss.dev/
---
Help support my channel
šØāš Get a course: kevinpowell.co/courses
š Buy a shirt: cottonbureau.com/people/kevin-powell
š Support me on Patreon: patreon.com/kevinpowell or through YT memberships: youtube.com/@KevinPowell/join
---
š§āš» My editor: VS Code - code.visualstudio.com
š My theme: One Dark Pro Var Night
š¤ My font: Cascadia Code
---
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:
Bluesky: https://bsky.app/profile/kevinpowell.co
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!




š Already mastered CSS? Check out my advanced course, Beyond CSS: https://www.beyondcss.dev/
Help support my channel
šØāš Get a course: https://www.kevinpowell.co/courses
š Buy a shirt: https://cottonbureau.com/people/kevin-powell
š Support me on Patreon: https://www.patreon.com/kevinpowell or through YT memberships: https://youtube.com/@KevinPowell/join
š§āš» My editors:
In most videos, Iām using CodePen these days: https://codepen.io/ - with High Contrast Dark theme and the font Commit Mono
And if not CodePen, then Iām probably using Zed: https://zed.dev/ with the theme Ayu Dark, and the font ZedMono
In older videos, I was using VS Code - https://code.visualstudio.com/ with the theme One Dark Pro Var, and the font Cascadia
ā Timestamps:
00:00 - Intro
00:35 - The ground rules
00:55 - Battle 1 planning
01:26 - Battle 1
08:05 - Battle 2 planning
08:56 - Battle 2
16:30 - Battle 3 planning
17:06 - Battle 3
Im on some other places on the internet too!
If youd like a behind the scenes and previews of whats coming up on my YouTube channel:
Bluesky: https://bsky.app/profile/kevinpowell.co
Codepen: https://codepen.io/kevinpowell/
Github: https://github.com/kevin-powell
And whatever you do, dont forget to keep on making your corner of the internet just a little bit more awesome!
#css Frontend developer takes on CSS Battles - 10-minute challenge](https://i.ytimg.com/vi/MVsG4agTS94/mqdefault.jpg)



š Already mastered CSS? Check out my advanced course, Beyond CSS: https://www.beyondcss.dev/
Help support my channel
šØāš Get a course: https://www.kevinpowell.co/courses
š Buy a shirt: https://cottonbureau.com/people/kevin-powell
š Support me on Patreon: https://www.patreon.com/kevinpowell or through YT memberships: https://youtube.com/@KevinPowell/join
š§āš» My editor: VS Code - https://code.visualstudio.com/
š My theme: One Dark Pro Var Night
š¤ My font: Cascadia Code
Im on some other places on the internet too!
If youd like a behind the scenes and previews of whats coming up on my YouTube channel:
Bluesky: https://bsky.app/profile/kevinpowell.co
Codepen: https://codepen.io/kevinpowell/
Github: https://github.com/kevin-powell
And whatever you do, dont forget to keep on making your corner of the internet just a little bit more awesome! Get live server working in Zed editor](https://i.ytimg.com/vi/N_HOAgKLswk/mqdefault.jpg)


š Already mastered CSS? Check out my advanced course, Beyond CSS: https://www.beyondcss.dev/
Help support my channel
šØāš Get a course: https://www.kevinpowell.co/courses
š Buy a shirt: https://cottonbureau.com/people/kevin-powell
š Support me on Patreon: https://www.patreon.com/kevinpowell or through YT memberships: https://youtube.com/@KevinPowell/join
š§āš» My editor: VS Code - https://code.visualstudio.com/
š My theme: One Dark Pro Var Night
š¤ My font: Cascadia Code
Im on some other places on the internet too!
If youd like a behind the scenes and previews of whats coming up on my YouTube channel:
Bluesky: https://bsky.app/profile/kevinpowell.co
Codepen: https://codepen.io/kevinpowell/
Github: https://github.com/kevin-powell
And whatever you do, dont forget to keep on making your corner of the internet just a little bit more awesome! I challenged the Syntax crew to a CSS BATTLE!](https://i.ytimg.com/vi/OAoz5lBSooc/mqdefault.jpg)


š Already mastered CSS? Check out my advanced course, Beyond CSS: https://www.beyondcss.dev/
#css
ā Timestamps
00:00 - Introduction
00:25 - The basics of grid columns
02:30 - Using the repeat syntax
03:15 - Breaking down repeat auto-fit
05:45 - Preventing overflow
08:00 - Use a variable for the minimum value
08:45 - How to remember this declaration
11:25 - The difference between auto-fit and auto-fill
Help support my channel
šØāš Get a course: https://www.kevinpowell.co/courses
š Buy a shirt: https://cottonbureau.com/people/kevin-powell
š Support me on Patreon: https://www.patreon.com/kevinpowell or through YT memberships: https://youtube.com/@KevinPowell/join
š§āš» My editor: VS Code - https://code.visualstudio.com/
š My theme: One Dark Pro Var Night
š¤ My font: Cascadia Code
Im on some other places on the internet too!
If youd like a behind the scenes and previews of whats coming up on my YouTube channel:
Bluesky: https://bsky.app/profile/kevinpowell.co
Codepen: https://codepen.io/kevinpowell/
Github: https://github.com/kevin-powell
And whatever you do, dont forget to keep on making your corner of the internet just a little bit more awesome! The magic of auto-fit and auto-fill (and the difference between them)](https://i.ytimg.com/vi/OZ6qKoq7RJU/mqdefault.jpg)