Skip to content

Instantly share code, notes, and snippets.

@qwertypants
Created December 29, 2010 16:21
Show Gist options
  • Save qwertypants/758698 to your computer and use it in GitHub Desktop.
Save qwertypants/758698 to your computer and use it in GitHub Desktop.
Generic structure for Modernizr CSS styles
.js {}
.no-js {}
.flexbox {}
.no-flexbox {}
.canvas {}
.no-canvas {}
.canvastext {}
.no-canvastext {}
.webgl {}
.no-webgl {}
.touch {}
.no-touch {}
.geolocation {}
.no-geolocation {}
.postmessage {}
.no-postmessage {}
.websqldatabase {}
.no-websqldatabase {}
.indexeddb {}
.no-indexeddb {}
.hashchange {}
.no-hashchange {}
.history {}
.no-history {}
.draganddrop {}
.no-draganddrop {}
.websockets {}
.no-websockets {}
.rgba {}
.no-rgba {}
.hsla {}
.no-hsla {}
.multiplebgs {}
.no-multiplebgs {}
.backgroundsize {}
.no-backgroundsize {}
.borderimage {}
.no-borderimage {}
.borderradius {}
.no-borderradius {}
.boxshadow {}
.no-boxshadow {}
.textshadow {}
.no-textshadow {}
.opacity {}
.no-opacity {}
.cssanimations {}
.no-cssanimations {}
.csscolumns {}
.no-csscolumns {}
.cssgradients {}
.no-cssgradients {}
.cssreflections {}
.no-cssreflections {}
.csstransforms {}
.no-csstransforms {}
.csstransforms3d {}
.no-csstransforms3d {}
.csstransitions {}
.no-csstransitions {}
.fontface {}
.no-fontface {}
.video {}
.no-video {}
.audio {}
.no-audio {}
.localstorage {}
.no-localstorage {}
.sessionstorage {}
.no-sessionstorage {}
.webworkers {}
.no-webworkers {}
.applicationcache {}
.no-applicationcache {}
.svg {}
.no-svg {}
.inlinesvg {}
.no-inlinesvg {}
.smil {}
.no-smil {}
.svgclippaths {}
.no-svgclippaths {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment