difference between ul:last-child and ul :last-child
<p>I am creating a tree with angular inspire by<br>
<a href="https://codepen.io/philippkuehn/pen/QbrOaN" rel="nofollow">https://codepen.io/philippkuehn/pen/QbrOaN</a> with a recursive tamplate</p>

<p>I would like the last elements of my tree print as a columns.</p>

<p>The last <code>&lt;a&gt;</code> element is accessible with <code>li a:last-child</code>. But i didn't find the way to access to only the last <code>li</code></p>

<p>For explain my question title, i tried to access with</p>

<p><code>ul li:last-child</code></p>

<p>By some kind of mistake i put a space and i saw i didn't get the same result. (i set a background-color for helping)</p>

<p><code>ul li :last-child</code></p>

<p>What is the difference ? and as optional question, what could be the best way to access the last <code>li</code> ?</p>

<p>ps: i am using <strong>sass</strong></p>