Get your own website Result Size: 625 x 534
x
 
<!DOCTYPE html>
<html>
<head>
<style>
h1 {
  font-size: 20vh;
}
</style>
</head>
<body>
<h1>Hello</h1>
<p>Resize the height of the browser window to see how the font-size of h1 changes.</p>
<p>1vh = 1% of viewport height.</p>
</body>
<!-- Mirrored from www.w3schools.com/css/tryit.asp?filename=trycss_unit_vh by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 21 Dec 2022 16:49:47 GMT -->
</html>