0

I've tried adding

@viewport {
/* Keyword value */
min-zoom: auto;

/* <number> values */
min-zoom: 0.8;
width: device-width;

}

and

body {
     width: 1500 px;
}

To my css document

And adding the meta tag to my html

<meta name="viewport" content="width=device-width, initial-scale=1.00, maximum-scale=2.00, minimum-scale=0.80">

And all of it seems to do nothing. The webpage can still zoom in and out just as it did before.

Is there anything else I need to add other than these things?

I'm using the firefox browser

4
  • stackoverflow.com/questions/51667527/… Does that answer your question? Commented Jun 10, 2019 at 22:41
  • @FelDev No, that meta tag is in my question Commented Jun 10, 2019 at 22:42
  • @Jacob: in which browsers? min-zoom has no support over all browsers (eg. safari). Commented Jun 10, 2019 at 22:46
  • @panther Well I'm using firefox. I'd like a way to set the minimum zoom over all the popular browsers, it doesn't have to be this way. Commented Jun 10, 2019 at 22:47

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.