Issues using vh units in CSS

Author: justlevineCreated May 26, 2018Updated Nov 11, 2025

How do I get backstopJS to respect height: [num]vh in my css?

Theyre getting comically stretched out.

Eg. (viewport: 1366x768, selectors: 'document')

Actual Chrome Browser (1366x768) - showing just the second section, for reference: capture

Those two stretched-out sections have a height:90vh.