font size vw for responsive code example
Example 1: how to make fonts respnsive
h1 {
font-size: clamp(16px, 5vw, 34px);
}
Example 2: responsive text css
<h1 style="font-size:10vw;">Responsive Text</h1>
<p style="font-size:5vw;">Resize the browser window to see how the text size scales.</p>