Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
The simplest feature-detect for flexbox?
* Trying to feature-detect (very naive)
* CSS Flexbox support.
* - Only most modern syntax
* Is this nonsense?
(function NaiveFlexBoxSupport(d){
var f = "flex", e = d.createElement('b'); = f;
return == f;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment