This is Why CSS is so Frustrating! 😭
Description: 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 ➜ https://patreon.com/davegray
💻 Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap
🚀 Discord ➜ https://discord.gg/neKghyefqh
👇 Follow Me On Social Media:
GitHub: https://github.com/gitdagray
X: https://twitter.com/yesdavidgray
LinkedIn: https://www.linkedin.com/in/davidagray/
Blog: https://www.davegray.codes/ Close description
💖 Support me on Patreon ➜ https://patreon.com/davegray
💻 Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap
🚀 Discord ➜ https://discord.gg/neKghyefqh
👇 Follow Me On Social Media:
GitHub: https://github.com/gitdagray
X: https://twitter.com/yesdavidgray
LinkedIn: https://www.linkedin.com/in/davidagray/
Blog: https://www.davegray.codes/ Close description




