Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

H1 Tag not Responsive

Hello All, I am creating a Web Page https://codepen.io/MakhanSingh/full/aKxjVZ and you can check the h1 tag is not responsive. any suggestions to make it responsive? Many Thanks in Advance.

1 Answer

Steven Parker
Steven Parker
231,261 Points

There doesn't appear to be any code to make it response yet. But the conventional way would be to create a few media queries and set different font sizes in each one.

You can also make it continuously adjust by using screen-relative units, for example:

    font-size: 12vw;

Perfect!!! Many Many Thanks for your valuable help :)