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 trialCool Beans
6,937 PointsGrid for mobile
I have a dilemma - I am currently going through the CSS Grid tutorial and everything is fine, layout is responsive, etc.
But when I check the same layout on my iPhone 11, the browser zooms out like no responsiveness was there in the first place. Why is that and how can I fix it?
1 Answer
Rohald van Merode
Treehouse StaffHey Cool Beans 👋
It's hard to tell what is causing this issue without seeing your code, but if your using a similar setup as shown in this video you might want to try adding a viewport
meta tag to the <head>
of your html file. A viewport meta tag is used to control the dimensions and scaling of a webpage's visible area. It ensures that the webpage is displayed correctly and is responsive to different screen sizes and devices.
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
I hope this helps! 🙂