HTML CSS examples for CSS:Introduction
Using @supports to check if a CSS property is supported
<html lang="en"> <head> <style> p::after {<!--from w w w . j a va 2s . c o m--> content:" nope." } @supports (display: -moz-grid) { p::after { content:" yep!" } </style> </head> <body translate="no"> <p>Is it Mozilla? </p> </body> </html>