MGA
MGA

Reputation: 3751

How to resize webpage content width on mobile to always fit screen at any zoom level?

I've seen this behavior on some webpages but I can't seem to find any information on how to recreate it. I would like my mobile webpage to be able to resize its content based on the zoom level of the user's device (so that it always occupies 100% of the width).

Imagine a simple text paragraph; how can I make sure it always occupies 100% of the width of the phone as the user zooms in and out?

Upvotes: 0

Views: 2635

Answers (1)

ninjagecko
ninjagecko

Reputation: 91094

This is built-in to the mobile web browser. You do not need to do anything special. Test your site in the mobile web-browser and you will see it already has this functionality.

Upvotes: 1

Related Questions