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

JavaScript

Nick Wilson
Nick Wilson
5,060 Points

Scaling down with css/js/jquery

I am building a website that needs to be responsive. I've looked everywhere for this kind of responsive design technique but I'm not finding out how to do it.

What needs to happen is that all of the content should scale with the browser at the same time when you resize the browser.

This website is how it should work. https://iamcybersafe.org/research_millennials/

Any idea's?

1 Answer

Rifqi Fahmi
Rifqi Fahmi
23,164 Points

Do you mean media queries ?

Nick Wilson
Nick Wilson
5,060 Points

I updated the website because it had the wrong extension. If you didn't see it.

If you resize the browser you can see that the content in the entire div resizes at the same rate. I want to know how to do that.

Not with like a bootstrap col-sm-12 col-md-6 col-lg-6 class.

But somehow with css or javascript or jQuery to scale down everything at once. Kind of like how an image Is responsive, you scale it up and down and it scales with the browser. But I'm talking about the entire content without a page scaling down gradually as if a responsive image.