Skip to content

Instantly share code, notes, and snippets.

@tylergaw
Created August 27, 2012 12:26
Show Gist options
  • Save tylergaw/3487997 to your computer and use it in GitHub Desktop.
Save tylergaw/3487997 to your computer and use it in GitHub Desktop.
Carthorse playin'
/**
* Carthorse playin'
*/
li:nth-child(odd):not(:last-child) {
background-color: #eee;
}
a:not([href*="http"]) {
color: hotpink;
}
/* Not working yet */
:-webkit-matches(header, footer) p {
font-size: 16px;
font-weight: bold;
}
<header>
<p>Look at this sweet-ass header</p>
</header>
<div>
<p>This is just a regular old p</p>
</div>
<ol>
<li><a href="/home">Home</a></li>
<li><a href="/about">About</a></li>
<li><a href="/projects">Projects</a></li>
<li><a href="/contact">Contact</a></li>
<li><a href="http://twitter.com/thegaw">Twitter</a></li>
</ol>
<footer>
<p>Holy shit this footer is off the rusty meathook</p>
</footer>
{"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