1. Determine the viewport height in pixels.
2. Divide the px value by 1% of the viewport height (viewport height / 100).
3. The result is the vh value.
Example: For a 800px viewport height, 40px / (800 / 100) = 5vh.
Auto-detected viewport height is 0px. Results are based on the current screen size.