Last active
December 20, 2015 13:19
-
-
Save maddesigns/6138317 to your computer and use it in GitHub Desktop.
Sublime searches for modernizer classes and CSS3 pseudo classes (Selectivizr)
This file contains 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
// Modernizr search | |
\.(no-)?(flexbox|canvas|canvastext|webgl|touch|geolocation|postmessage|websqldatabase|indexeddb|hashchange|history|draganddrop|websockets|rgba|hsla|multiplebgs|backgroundsize|borderimage|borderradius|boxshadow|textshadow|opacity|cssanimations|csscolumns|cssgradients|cssreflections|csstransforms|csstransforms3d|csstransitions|fontface|generatedcontent|video|audio|localstorage|sessionstorage|webworkers|applicationcache|svg|inlinesvg|smil|svgclippaths)\s | |
// Selectivizr search | |
:(root|nth-of-type|nth-last-of-type|first-of-type|last-of-type|only-of-type|only-child|last-child|nth-child|nth-last-child|empty|target|checked|:selection|enabled|disabled|not) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment