title: Set input size attribute with CSS?
body: <p>Is it possible to set an elements size attribute with CSS? So this: </p>
  
  <pre><code>&lt;input type="text" name="email" size="35"&gt;
  </code></pre>
  
  <p>Would effectively become this:</p>
  
  <pre><code>&lt;input type="text" name="email" size="40"&gt;
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/qOnz1.png" alt="enter image description here"></p>
  
  <p>This is different to setting the width in pixels as I want the browser to render the input based on the size attribute, not use an exact pixel width.  </p>