Skip to content

Instantly share code, notes, and snippets.

@vasilisvg
Created February 10, 2016 22:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vasilisvg/082efe3acc7c4c26c5b2 to your computer and use it in GitHub Desktop.
Save vasilisvg/082efe3acc7c4c26c5b2 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
li:nth-last-child(n+6),li:nth-last-child(6) ~ li {
color: green;
}
<!-- content to be placed inside <body>…</body> -->
<ul>
<li>bla</li>
<li>bla</li>
<li>bla</li>
<li>bla</li>
<li>bla</li>
<li>bla</li>
<li>bla</li>
<li>bla</li>
</ul>
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment