Ajout: meilleur preload (au début du html)

This commit is contained in:
Divlo 2019-12-29 04:57:12 +01:00
parent 8bd56568fe
commit 0d5573adb2
2 changed files with 8 additions and 7 deletions

View File

@ -11,13 +11,6 @@
</footer> </footer>
</div> </div>
<!-- Preload -->
<div id="overlay"></div>
<div id="preloader">
<div class="preload-icon"><span></span><span></span></div>
<div class="preload-text">Loading ...</div>
</div>
<!-- Scripts JS --> <!-- Scripts JS -->
<script defer src="/scripts/libs/jquery-min.js"></script> <script defer src="/scripts/libs/jquery-min.js"></script>
<script defer src="/scripts/libs/plugins/jquery.appear.min.js"></script> <script defer src="/scripts/libs/plugins/jquery.appear.min.js"></script>

View File

@ -42,6 +42,14 @@
</head> </head>
<body class="loading d-flex flex-column"> <body class="loading d-flex flex-column">
<!-- Preload -->
<div id="overlay"></div>
<div id="preloader">
<div class="preload-icon"><span></span><span></span></div>
<div class="preload-text">Loading ...</div>
</div>
<div class="mainContent"> <div class="mainContent">
<header> <header>
<nav class="navbar navbar-expand-lg navbar-dark static-top"> <nav class="navbar navbar-expand-lg navbar-dark static-top">