title: why we can't set width and height for canvas using css
body: <p>Why the canvas appears as scaled one, when the height and width is specified in css instead of DOM?</p>
  
  <p>Html:  </p>
  
  <pre><code> &lt;canvas&gt;&lt;/canvas&gt;
  </code></pre>
  
  <p>Css: </p>
  
  <pre><code> canvas{
         width:100px;
         height:100px;
      }
  </code></pre>