title: CSS Selector issue with list items
body: <p>I am facing a problem with CSS selector. I have content in "list Items(<code>LI</code>)" and "list Items(LI)" having class"child". I need to style for first "list Items(LI)" with the class name ".child". only in <code>CSS</code>.</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{margin:0;padding:0 32px 0 32px}
  li{ color:red;}
  .child{
    color:green;
    background:red;
    width:100%;
  }
  li.child ~ .child{
    color:#fff;
    font-size:20px;
    background:green;
    width:10px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;ul&gt;
    &lt;li&gt;hellow&lt;/li&gt;
    &lt;li&gt;hellow&lt;/li&gt;
    &lt;li&gt;hellow&lt;/li&gt;
    &lt;li&gt;hellow&lt;/li&gt;
    &lt;li&gt;hellow&lt;/li&gt;
    &lt;li&gt;hellow&lt;/li&gt;
    &lt;li&gt;hellow&lt;/li&gt;
    &lt;li class="child"&gt;
  This need to be Red Color
    &lt;/li&gt;
    &lt;li class="child"&gt;sub text&lt;/li&gt;
    &lt;li class="child"&gt;sub text&lt;/li&gt;
    &lt;li class="child"&gt;sub text&lt;/li&gt;
    &lt;li&gt;&lt;/li&gt;
    &lt;li&gt;&lt;/li&gt;
    &lt;li&gt;&lt;/li&gt;
    &lt;li&gt;&lt;/li&gt;
    &lt;li&gt;&lt;/li&gt;
    &lt;li&gt;&lt;/li&gt;
    &lt;li&gt;&lt;/li&gt;
    &lt;li&gt;&lt;/li&gt;
    &lt;li&gt;&lt;/li&gt;
  &lt;/ul&gt;</code></pre>
  </div>
  </div>
  </p>