Home › Forums › CSS › Fade from page to page + loading bar › Reply To: Fade from page to page + loading bar
February 7, 2017 at 9:25 am
#251119
Participant
One concern I have with that code is that if the javascript doesn’t fire, the page will be stuck on opacity: 0.
You could use a noscript
fallback for that:
<head>
[basic stylesheet]
<noscript>
<style>
.page {
opacity: 1;
}
</style>
</noscript>
</head>