Feel like you have the basics of CSS down, but you still get frustrated by it? I have a course just for you! https://cssdemystified.com?utm_campaign=general&utm_source=youtube&utm_medium=minheightpercentage
When we declare the height of an element as a percentage it has to be based on the height of the parent element. A lot of people know that, but then get frustrated when they declare a minheight and it doesn't work. In fact, it's probably one of the most common questions I see, so in this video I take a look at why it doesn't work.
Links
✅ Why you probably don’t want to bother with width: 100%: • CSS width auto vs 100% | What's the d...
⌚ Timestamps
00:00 Introduction
00:35 Why it works with a height, but not a minheight
04:15 A potential solution if you really need to do this
#css
Come hang out with other dev's in my Discord Community
/ discord
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!
/ kevinpowellcss
Help support my channel
Get a course: https://www.kevinpowell.co/courses
Buy a shirt: https://teespring.com/stores/makingt...
Support me on Patreon: / 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: / kevinjpowell
Codepen: https://codepen.io/kevinpowell/
Github: https://github.com/kevinpowell
And whatever you do, don't forget to keep on making your corner of the internet just a little bit more awesome!