Responsive Font Size

Responsive Font Size

<h1 style="font-size:10vw">Hello World</h1>

He text size can be set with a vw unit, which means the "viewport width".

Viewport is the browser window size. 1vw = 1% of viewport width. If the viewport is 50cm wide, 1vw is 0.5cm.

Related concepts

Responsive Font Size

Responsive Font Size — Structure map

Clickable & Draggable!

Responsive Font Size — Related pages: