This is Why CSS is so Frustrating! 😭

Published: 14 April 2024
on channel: Dave Gray
233,487
10k

CSS has many quirks, and this is just one example that seems illogical. After we get the height of the window we want with flex-grow, we shouldn't have to set another arbitrary height value... but we do because we can't overflow the window if we haven't set a height. And then flex-grow overrides the set height and fills up the window. It's definitely not straightforward.

💖 Support me on Patreon ➜   / davegray  

💻 Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap

🚀 Discord ➜   / discord  

👇 Follow Me On Social Media:
GitHub: https://github.com/gitdagray
X:   / yesdavidgray  
LinkedIn:   / davidagray  
Blog: https://www.davegray.codes/


On this page of the site you can watch the video online This is Why CSS is so Frustrating! 😭 with a duration of hours minute second in good quality, which was uploaded by the user Dave Gray 14 April 2024, share the link with friends and acquaintances, this video has already been watched 233,487 times on youtube and it was liked by 10 thousand viewers. Enjoy your viewing!