Skip to content

Disallow adjoining classes

nzakas edited this page Oct 24, 2011 · 4 revisions

Adjoining classes look like .foo.bar. While technically allowed in CSS, these aren't handled properly by Internet Explorer 6 and earlier. IE6 will match the selector as if it were simply '.bar' which means your selector will match more frequently than you intend it to and create cross browser bugs.

Rule ID: adjoining-classes

Clone this wiki locally