Do you find yourself frustrated with managing your divs' heights in CSS? Are things not working out the way you want them to? You're not alone. Setting element heights in CSS can be challenging, but with a few tips, you can make it much easier. Commo...
kimberlypangilinan.hashnode.dev3 min read
Anthony Fung
Angular/.NET Web developer. I write insights, thoughts, and stories to help software developers build a solid foundation for their skills
Nice writeup!
I agree with how using px can lead to unexpected results. In addition to the units mentioned I'd also recommend considering em, which is based on multiples of the current font size. So 1em is the current font size, 2em is twice as big, and so on.