Call: +123456789 | Email: admin@horje.com

Google Ads

Learn Responsive Text Size – HTML Code


Learn Responsive Text Size – HTML Code

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:

 

Code:

<h1 style="font-size:10vw;">Responsive Text</h1>

 

Try Your Self ->

 

Have any Question or Comment?

Leave a Reply

Your email address will not be published. Required fields are marked *