Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Conditional Comments – Which practice is the best? Reply To: Conditional Comments – Which practice is the best?

#191841
kayut
Participant

Sure, but I’m talking about my last question about “The Doc” solutiion.

I really love to know more about the Sass solution of “The Doc”:

.some-element {
  /* regular styles */

@include lt-ie9 {
    /* some sort of override for < IE9 */
  }
}

Do I need to add a class .lt-ie9 to those elements, which need especial treatment for IE 8 and lower?

Or how else does it work?