Conditional-CSS allows you to write maintainable CSS with conditional logic to target specific CSS statements at both individual browsers and groups of browsers.
Modernizr is a small JavaScript toolkit that uses feature detection techniques to determine whether or not the current browser is capable of any of the following features from CSS3 and HTML5.