title: Want to make a min-max textbox like in the image
body: <p><a href="https://i.stack.imgur.com/f2C5R.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/f2C5R.png" alt="AS Shown in the image"></a></p>
  
  <p>As described in the image,</p>
  
  <p>I would like to make the textbox like this.</p>
  
  <p>I have tried it using min max but it is not working.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div&gt;
    &lt;input type="number" name="quantity" min="1" max="5" placeholder="Number"&gt;&lt;br&gt;
  
    &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>How can i make it like in the image?</p>
  
  <p>Any help would be great.</p>
  
  <p>Thank You.</p>