Skip to content

Instantly share code, notes, and snippets.

@gfcarvalho
Created April 28, 2014 03:53
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gfcarvalho/11361380 to your computer and use it in GitHub Desktop.
Save gfcarvalho/11361380 to your computer and use it in GitHub Desktop.
Avoiding FOUC
<html class="no-js">
<head>
<script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>
@gfcarvalho
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment