Modernizr Cheat Sheet

From WikiOD

Here is the cheatsheat of Modernizr and basic guide on how to use Modernizr

Script[edit | edit source]

<script src='//cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js'></script>

Detections[edit | edit source]

JavaScript

  • js

CSS

  • flexbox
  • rgba
  • hsla
  • multiplebgs
  • backgroundsize
  • borderimage
  • borderradius
  • boxshadow
  • textshadow
  • opacity
  • cssanimations
  • csscolumns
  • cssgradients
  • cssreflections
  • csstransforms
  • csstransforms3d
  • csstransitions
  • fontface
  • generatedcontent

HTML5

  • canvas
  • canvastext
  • webgl
  • touch
  • geolocation
  • postmessage
  • websqldatabase
  • indexeddb
  • hashchange
  • history
  • draganddrop
  • websockets
  • video
  • audio
  • localstorage
  • sessionstorage
  • webworkers
  • applicationcache
  • svg
  • inlinesvg
  • smil
  • svgclippaths

Credit:rstacruz