Streaming live at 10am (PST)

Min-Height vs Height When Using 'vh'

What’s the difference between using min-height and height when making a section 100vh?

When you set a min-height=100vh it means that section can become a bigger than 100vh, if there is more content. If you set height=100vh, section will not “grow” over this size or “shrink” less than this size.

2 Likes

Thank you!! That totally makes sense.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.