Browser Prefixes aren’t as Evil as you Think

Eric Meyer’s excellent thoughts on why browser prefixes are not as bad as some people make them out to be and I completely agree.

So the next time you find yourself grumbling about declaring the same thing four times, once for each browser, remember that the pain is temporary. It’s a little like a vaccine—the shot hurts now, true, but it’s really not that bad in comparison to the disease it prevents. And in this case, you’re being vaccinated against a bad case of multi-year parser hacking and browser sniffing. We suffered through that long plague once already. Prefixes will, if used properly, ward off another outbreak for a long time to come.

Source: http://www.alistapart.com/articles/prefix-or-posthack/

Discuss this on Google+

by @tkenny

You should follow me on Twitter here

Subscribe to Inspect Element by email to get updates on new articles, tutorials and WordPress themes: