@KevinPowell
  @KevinPowell
Kevin Powell | One of the most common CSS issues people run into @KevinPowell | Uploaded October 2023 | Updated October 2024, 1 hour ago.
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=min-height-percentage

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 min-height 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%: youtu.be/-st14lUQD3U

⌚ Timestamps
00:00 - Introduction
00:35 - Why it works with a height, but not a min-height
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.gg/nTYCvrK

Keep up to date with everything I'm up to
βœ‰ kevinpowell.co/newsletter

Come hang out with me live every Monday on Twitch!
πŸ“Ί twitch.tv/kevinpowellcss

---

Help support my channel
πŸ‘¨β€πŸŽ“ Get a course: kevinpowell.co/courses
πŸ‘• Buy a shirt: teespring.com/stores/making-the-internet-awesome
πŸ’– Support me on Patreon: patreon.com/kevinpowell

---

My editor: VS Code - 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: twitter.com/KevinJPowell
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!
One of the most common CSS issues people run intoThe State of CSS 2023 survey is here!Taking on a CSS Battle Live2 better alternatives to overflow: hidden7 ways to center with CSSThese CSS best practices might be holding you backAn easy fix for an annoying CSS transition issue@scope is coming to CSS and its amazing 🀯Overlap elements without using position in CSSStyling underlines with CSS is easier than you might have thoughtCSS-only particle animationsCreate a diamond grid with CSS (with a bonus animation)

One of the most common CSS issues people run into @KevinPowell

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER