Return to article

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


Style siblings pt2

One

Three

Two

One

*Two

div#sibling h1 + h2