title: How to display input as bullet marks in input number element?
body: <p>My user is required to input 5 digit number for a pass code. Once the number is entered in to the <code>input</code> number field the number should not be shown. It should be changed to a black color <code>bullet</code>. How do I achieve that?</p>
  
  <p>Here is my html: </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-css lang-css prettyprint-override"><code>input::-webkit-outer-spin-button,
  input::-webkit-inner-spin-button {
      -webkit-appearance: none;
      margin: 0;
  }
  
  input{
    text-align:center;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="creditCardNumber"&gt;
    &lt;input type="number" name="" min="0" max="9" maxlength="1" step="1" onKeyPress="if(this.value.length==1) return false;"&gt;
    &lt;input type="number" name="" min="0" max="9" maxlength="1" step="1" onKeyPress="if(this.value.length==1) return false;"&gt;
    &lt;input type="number" name="" min="0" max="9" maxlength="1" step="1" onKeyPress="if(this.value.length==1) return false;"&gt;
    &lt;input type="number" name="" min="0" max="9" maxlength="1" step="1" onKeyPress="if(this.value.length==1) return false;"&gt;
    &lt;input type="number" name="" min="0" max="9" maxlength="1" step="1" onKeyPress="if(this.value.length==1) return false;"&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Looking the result like this:
  <a href="https://i.stack.imgur.com/FjGX6.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FjGX6.jpg" alt="Masked Number"></a></p>