title: How to place fields in the form to be of same height and width
body: <p>I am trying to place fields in a form one after another (on new lines) to be of same height and width. </p>
  
  <p>Below is the code snippet:</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>    label {
          display: block;
          position: relative;
          padding-left: 120px;
          padding-top: 5px;
      }
  
      label &gt; span {
         position: absolute;
         left: 0;
      }
  
      input {
           min-width: 169px;
           min-height: 41px;
          -moz-box-sizing: border-box; /* or `border-box` */
          -webkit-box-sizing: border-box;
           box-sizing: border-box;
      }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>    &lt;label&gt;
            &lt;span&gt;email&lt;/span&gt;
            &lt;input type="email"/&gt;
      &lt;/label&gt;
      &lt;label&gt;
            &lt;span&gt;Date&lt;/span&gt;
            &lt;input type="date"/&gt;
      &lt;/label&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>The above will create input fields one after another on a new line. </p>
  
  <p>However, both of them are of different width. When I change the <code>box-sizing</code> to <code>content-box</code> for input element, both the input elements are of same width but the increased height is undesirable. </p>
  
  <p>I want the input elements to be of equal width and height. </p>
  
  <p>Could someone help me with this? Also the fields can be dynamically added (meaning more input elements).</p>
  
  <p>Is there a way to let the styling be added to all elements and not change it individually in future. Thanks.</p>