@filipjuszczak
Posted
When you set a container's height (body
in this example), it's better to use min-height
instead of height
. In this case, you know how much content you'll have, but when you don't, setting a min-height
won't cut out any content that doesn't fit on the screen.
It's better to use relative units, such as em
and rem
, to set margin
s, padding
s, font- size
s etc.
Marked as helpful
@snakechickensoup
Posted
@filipjuszczak Thank you. This answer was really helpful to me.