I have a question about line-height
In this pracitce, I set the line-height at 50px which is the height of the content box since I am using the default box model. I ignored padding at this point. am I right?
Hello @Austin_Hart
Great job! That’s a cool-looking box 
Some comments:
- You can omit
heightwhen usingline-heighton buttons (and input fields), but it’s preferred to use a unitless values instead ofpx. It’s a multiplier of the font size when used this way. So a good value for this exercise would beline-height: 3;. - You correctly used and described
rem. Since we want a slightly increased font size, maybe1.1remwould be a better choice.
Just ask if something is unclear 
Cheers,
Michael
thank you for your comment, I used a unitless line-height and it’s much better 
1 Like