Does the browser support CSS user in the required amount?
Modernizr is a small, simple JavaScript library that can help you answer the question of whether the user's browser supports technologies such as:
HTML5
Canvas
rgba ()
hsla ()
border-image
border-radius
box-shadow
Multiple Background Images
Transparency
CSS animation
Columns
Gradients
Reflections
CSS transformation
CSS transitions
Would you like to simplify the layout, knowing that the user's browser supports CSS features, such as multiple background images? With Modernizr this is easy to achieve! The syntax is very clear:
body.multiplebgs div p { /* properties for browsers that support multiple backgrounds */ } body.no-multiplebgs div p { /* optional fallback properties for browsers that don't */ }