flexbox justify-self: flex-end not working? : <p>I have a layout where <em>sometimes</em> the 'left' item is missing. In such cases, I still want the 'right' item to be right-aligned.</p>

<p>I thought I could do this with <code>justify-self</code> but that doesn't appear to be the case.</p>

<p>Is there a flexbox property for right-aligning one's self?</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>.row {
  border: 1px solid black;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.left,
.right {
  display: inline-block;
  background-color: yellow;
}

.right {
  justify-self: flex-end;
}</code></pre>
<pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="row"&gt;
  &lt;!--&lt;div class="left"&gt;left&lt;/div&gt;--&gt;
  &lt;div class="right"&gt;right&lt;/div&gt;
&lt;/div&gt;</code></pre>
</div>
</div>
</p>
