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/


Watch video This is Why CSS is so Frustrating! 😭 online without registration, duration hours minute second in high quality. This video was added by user Dave Gray 14 April 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 233,487 once and liked it 10 thousand people.