title: Positioning form CSS
body: <p>I have a question regarding aligning the input fields in form using flexbox.
  This is my code:</p>
  <p><a href="https://i.stack.imgur.com/tSSE6.png" rel="nofollow noreferrer">enter image description here</a></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>.form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .form input,
    select {
    margin-left: 2rem;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div className="form"&gt;
    &lt;label&gt;
      &lt;span&gt;Please write your title: &lt;/span&gt;
      &lt;select&gt;
        &lt;option value="male"&gt;Mr.&lt;/option&gt;
        &lt;option value="female"&gt;Mrs.&lt;/option&gt;
        &lt;option value="female-young"&gt;Miss.&lt;/option&gt;
      &lt;/select&gt;
    &lt;/label&gt;
    &lt;label&gt;
      &lt;span&gt;Please write your name: &lt;/span&gt;
      &lt;input type="text" /&gt;
    &lt;/label&gt;
    &lt;label&gt;
      &lt;span&gt;Please write your surname: &lt;/span&gt;
      &lt;input type="text" /&gt;
    &lt;/label&gt;
    &lt;label&gt;
      &lt;span&gt;Please pick today's date: &lt;/span&gt;
      &lt;input type="date" /&gt;
    &lt;/label&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>I want to align input fields. Thank you in advance for help!</p>