Mathias Bynens 5/19/2011

In defense of CSS hacks — introducing “safe CSS hacks”

Read Original

This article analyzes methods for targeting specific browsers, particularly Internet Explorer, in CSS. It compares three common techniques: conditional stylesheets, CSS hacks, and conditional classnames, discussing their pros and cons. The author argues that CSS hacks are often misunderstood and introduces the concept of 'safe CSS hacks' as a viable approach for writing efficient and maintainable cross-browser styles.

In defense of CSS hacks — introducing “safe CSS hacks”

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week