Skip to content

Instantly share code, notes, and snippets.

@jbutko
Created September 24, 2013 15:48
Show Gist options
  • Save jbutko/6686848 to your computer and use it in GitHub Desktop.
Save jbutko/6686848 to your computer and use it in GitHub Desktop.
JS, jQuery, CSS: Add no-js class to html element to CSS target no-js browsers
<script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment