fix FOUC
This commit is contained in:
@@ -10,6 +10,10 @@
|
|||||||
<script type="module">
|
<script type="module">
|
||||||
document.documentElement.classList.remove("no-js");
|
document.documentElement.classList.remove("no-js");
|
||||||
document.documentElement.classList.add("js");
|
document.documentElement.classList.add("js");
|
||||||
|
|
||||||
|
window.onload = function () {
|
||||||
|
document.body.style.opacity = "1";
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<meta name="description" content="Securely request information via SURE links" />
|
<meta name="description" content="Securely request information via SURE links" />
|
||||||
@@ -37,7 +41,7 @@
|
|||||||
<meta name="msapplication-starturl" content="/" />
|
<meta name="msapplication-starturl" content="/" />
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body style="opacity: 0; background-color: #11191f;">
|
||||||
<header class="container">
|
<header class="container">
|
||||||
<hgroup>
|
<hgroup>
|
||||||
<h1>
|
<h1>
|
||||||
|
@@ -6,6 +6,6 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hidden {
|
body {
|
||||||
display: none;
|
transition: opacity 1s ease-in-out;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user