title: Flexbox - align icon at the end of row (justify-self)
body: <p>I want to display an icon at the end of each row. I am trying to solve this using flexbox but I don't understand how justify-self works.</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>ul {
    list-style-type: none;
  }
  
  div {
    display:flex;
  }
  
  div:first-child {
    justify-self: flex-start;
  }
  
  div:last-child {
    justify-self: flex-end;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;section&gt;
    &lt;ul&gt;
      &lt;li&gt;
        &lt;div&gt;
          &lt;p&gt;I want an icon at the end&lt;/p&gt;
          &lt;i&gt;ICON&lt;/i&gt;
        &lt;/div&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;div&gt;
          &lt;p&gt;but I dont know how&lt;/p&gt;
          &lt;i&gt;ICON&lt;/i&gt;
        &lt;/div&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/section&gt;</code></pre>
  </div>
  </div>
  </p>