title: Is there a way to specify minimum and maximum zoom level for a browser?
body: <p>Recent browsers allow to change the zoom level with CTRL +- , CTRL-mouse wheel and also two finger pinch gesture on the trackpad. While I myself find the feature very convenient (the fonts on various websites are often too small for me to read), we had some testing sessions where the tester (knowingly on unknowingly) applied very extreme zoom level under that no web page ever could be usable. Then they claim that possibility to do this is a bug, that the user may apply the zoom without knowing that is he doing and may not be able to set it back. The I am asked to disable the zoom completely but I do not like this idea myself very much.</p>
  
  <p>Instead of simply disabling the zoom, I would like the possibility to set its minimal and maximal boundaries under that, I have verified, the website still looks good enough. Questions how to disable the zoom completely are not duplicates of this question.</p>
  
  <p>The website is build on the top of React framework.</p>
  
  <p>I tried to put the following in CSS:</p>
  
  <pre><code>body {
    min-zoom: 0.75;
    max-zoom: 1.5;
  }
  </code></pre>
  
  <p>or</p>
  
  <pre><code>  min-zoom: 75%;
    max-zoom: 150%;
  </code></pre>
  
  <p>This was not helpful, zoom is allowed to change from 25 to 500 % that my design just cannot manage. Other properties like</p>
  
  <pre><code>body {
    margin: 200px;
  }
  </code></pre>
  
  <p>are respected in this place hence it is not so that the tag or whole css file is just ignored.</p>
  
  <p>I also tried to add</p>
  
  <pre><code>&lt;meta name="viewport" content="width=device-width, 
     initial-scale=1.00, maximum-scale=1.5, minimum-scale=0.75"&gt;
  </code></pre>
  
  <p>to my head tag in <code>index.html</code> but also seems just ignored.</p>
  
  <p>I also added</p>
  
  <pre><code>@viewport {
    zoom: 1.00;
    min-zoom: 0.75;
    max-zoom: 1.5;
  }
  </code></pre>
  
  <p>to my css, browser does not care.</p>