html5 - How do you query a web browser for CSS Grid support? -


how query web browser css grid support?

all major browsers support css grid recent versions, need fallback else if client has older version.

in css can use this:

@supports (display: grid) {     /* css styles css grid */ } 

the @supports syntax works chrome 28, edge 20, firefox 22, opera 12, safari 9 according mdn web docs.

internet explorer not listed support @supports syntax.


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -