The text size can be set with a vw unit, which means the "viewport width".That way the text size will follow the size of the browser window:Hello World Resize the browser window to see how the font size scales.Example <h1 style="font-size:10vw">Hello World</h1> Try it Yourself ...