January 8, 2013 at 3:06 pm #120308
Ah, I see what you’re thinking!
+ label simply acts as a sibling selector, so
input[type=checkbox] + label will select all inputs that are checkboxes, as well as their immediate sibling labels.
This allows this method to work for most use cases, because it’s not ID or class-based.
For more information on advanced CSS selectors like this, [check out this article](http://coding.smashingmagazine.com/2009/08/17/taming-advanced-css-selectors/). It’s one of the most detailed I’ve seen.