Focus - input:focus
<input type="text" name="first"/>
<input type="text"/> name="second"
Style based on rel - h1[rel='external'] and h1[rel='internal']
Big Red
<h1 rel="external">Big Red</h1>
Not Red
<h1 rel="internal">Not Red</h1>
Style siblings
- First - li:first-child
- Second - li:nth-child(3n+2)
- Third - li:nth-child(3)
- Fourth
- 5th - li:nth-child(3n+2)
- Sixth
Style siblings pt2
One
Three
Two
One
*Two
div#sibling h1 + h2