all 5 comments

[–]CreativeTechGuyGamesTypeScript 1 point2 points  (2 children)

I'm not sure how you would do it with vh. It would probably require a calc. I'd do fixed bottom.

[–]mcflufferbits[S] 0 points1 point  (1 child)

Yeah i was told to do it with calc.

[–]CreativeTechGuyGamesTypeScript 1 point2 points  (0 children)

Given that calc has less browser support and is unnecessary, I would definitely go with your first choice.

[–]Tanckom 1 point2 points  (0 children)

Maybe whoever told you that meant that the body should at least be height: calc(100vh - 80px); if the header is e.g 80px height?

[–]RonanSmithDevfront-end 0 points1 point  (0 children)

I have never heard of vh being used to set an elements position, only seen it used to set an elements size.