Based off the stars JS demo. Requires CSS3 selector support.