Created
August 23, 2013 15:27
-
-
Save joshuabaker/6320601 to your computer and use it in GitHub Desktop.
JavaScript test for CSS3 columns. Helpful to avoid having to use Modernizr.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
var style = document.createElement('div').style; | |
return ('columnCount' in style || 'MozColumnCount' in style || 'WebkitColumnCount' in style); | |
}()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment