<html>
    <link rel="stylesheet" href="style.css">
    <body>
        body親要素6vh
        <p>p子要素6vh<br><a>a孫要素6vw</a></p>
        <div>div子要素6vh</div>
       <h2>h2子要素6vh</h2>
    </dody>
</html>
body{font-size:6vh;} /*本文の文字サイズ*/
h2{font-size:6vh;}
p{font-size:6vh;}
a{font-size:6vh;}
div{font-size:6vh;}
h2{font-size:6vh;}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.