 <p>I personnaly use the second one, here is how I view this :</p> <p>You must think of that with the semantics, you would say </p> <p>"When &lt;a> of class &lt;class> trigger the event &lt;hover> I want &lt;that> to happen."</p> <p>not this :</p> <p>"When &lt;a> trigger event &lt;hover> check if it is of class &lt;class> then do &lt;that>."</p>