html - How to provide multiple levels of support in css with progressive enhancement -



html - How to provide multiple levels of support in css with progressive enhancement -

recently finished reading designing progressive enhancement filament group. in book talk providing 2 levels of back upwards based on testing browser features. if browser passes tests gets enhanced experience built on top of basic. if browser fails, gets basic experience. on paper makes perfect sense , drives home how websites should built.

after finished book looked @ enhance.js script go on in book tests browser features (https://github.com/filamentgroup/enhancejs , new version since book https://github.com/filamentgroup/enhance). in script, there isn't way test specific css features expected. sure, you're able test box-model support, if layout relies on display: table? there testing features this? practical so?

modernizr popular library provides similar capability testing. there wide selection of pre-built tests can selected on download page, including 1 test display: table (css-displaytable in non-core detects section). host collection of polyfills can help create of missing features might want use.

html css progressive-enhancement

Comments

Popular posts from this blog

javascript - mongodb won't find my schema method in nested container -

Hibernate criteria by a list of natural ids -

ios - Lagging ScrollView with UIWebview inside -