Solve Compatibility Problems With Valid Css Rules, Not Css Parser Hacks

less than 1 minute read

CSS parser hacks are unreliable because browsers can be updated causing these hacks to fail. Instead try adding version-specific classes to the html or body tag that can be used in stylesheet rules. Conditional comments can also be used to include a browser-specific CSS file only in the versions that need it.

Leave a Comment

Your email address will not be published. Required fields are marked *

Loading...