Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

Fix for FOUC :

At the top of your HTML:

<!doctype html>
<html>
<head>
    <style>html{visibility: hidden;opacity:0;}</style>

At the end of your last .css file:

html {
    visibility: visible;
    opacity: 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.