Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Make a responsive website use meta tag, without max-width

I want a responsive page that changes when the browser size changes.

I haven’t figured it out yet, but I want to use a Meta member!

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

HTML5 introduced a method to let web designers take control over the
viewport, through the tag. You should include the following
viewport element in all your web pages:

<meta name="viewport" content="width=device-width, initial-scale=1.0">

This gives the browser instructions on how to control the page’s
dimensions and scaling. The width=device-width part sets the width
of the page to follow the screen-width of the device (which will vary
depending on the device). The initial-scale=1.0 part sets the
initial zoom level when the page is first loaded by the browser.

w3schools

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading