UI Deploy

Curated, Short, Web UI Dev we Love.

A Browser-Native Modernizr: Using @supports in CSS

A front-end developer’s working life is often characterized by the question “what does this work in?” Gauging what CSS is supported in which browsers, and creating elegant fallbacks when they are not, can often consume the majority of development hours. Feature detection tools like Modernizr help immensely, but they don’t cover every case, and consist of yet more JavaScript that must be loaded and run.

view source

Advertisement