Skip to content

24 ways to impress your friends

Vote up?

Paul Irish

Sam writes:

If only other browsers supported conditional comments, then only those browsers supporting certain CSS would have to load the code.

This is precisely the use-case that Modernizr was created for. So you can define provide CSS for the browsers that support the feature, and then specific CSS for the ones that don’t yet.