Skip to content

Instantly share code, notes, and snippets.

@thanpolas
Created December 16, 2012 17:26
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 thanpolas/4309874 to your computer and use it in GitHub Desktop.
Save thanpolas/4309874 to your computer and use it in GitHub Desktop.
Untitled
.container > p:last-child {
background-color: yellow;
}
<div class="container">
<p>One</p>
<p>Two</p>
<p>Three</p>
<div class="irrelevant">
<p>lame content</p>
</div>
</div>
// alert('Hello world!');
{"view":"split-vertical","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