-
-
Save rendrap/cc8d88e8be4ec99d29dc65b64f1e81de to your computer and use it in GitHub Desktop.
Revisions
-
johnpolacek revised this gist
Jul 15, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ <!-- Prevent FOUC (flash of unstyled content) - http://johnpolacek.com/2012/10/03/help-prevent-fouc/ --> <style type="text/css"> .no-fouc {display: none;} </style> -
johnpolacek revised this gist
Jul 15, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ <!-- Prevent FOUC - http://johnpolacek.com/2012/10/03/help-prevent-fouc/ --> <style type="text/css"> .no-fouc {display: none;} </style> -
johnpolacek revised this gist
Jan 9, 2013 . 1 changed file with 5 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -2,10 +2,8 @@ <style type="text/css"> .no-fouc {display: none;} </style> <script type="text/javascript"> document.documentElement.className = 'no-fouc'; // add to document ready: $('.no-fouc').removeClass('no-fouc'); </script> -
johnpolacek revised this gist
Jan 8, 2013 . 1 changed file with 7 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,10 @@ <style type="text/css"> .no-fouc {display: none;} </style> <!--[if !IE]> --> <script type="text/javascript"> document.documentElement.className = 'no-fouc'; // add to document ready: $('.no-fouc').removeClass('no-fouc'); // this breaks in IE7, so IE users get the fouc. </script> <!-- <![endif]--> -
johnpolacek created this gist
Oct 3, 2012 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ <!-- Prevent FOUC (flash of unstyled content) --> <style type="text/css"> .no-fouc {display: none;} </style> <script type="text/javascript"> document.documentElement.className = 'no-fouc'; // add to document ready: $('.no-fouc').removeClass('no-fouc'); </script>