neu
This commit is contained in:
parent
ac9cb16db5
commit
6c2579292e
@ -44,15 +44,16 @@
|
|||||||
<p>Deine Inhalte hier...</p>
|
<p>Deine Inhalte hier...</p>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Simulieren des Ladevorgangs
|
// Ladeanimation beim Laden der Seite anzeigen
|
||||||
document.body.classList.add('loading');
|
document.body.classList.add('loading');
|
||||||
|
|
||||||
// Nach 3 Sekunden den Ladevorgang beenden
|
// Ladeanimation entfernen, wenn die Seite vollständig geladen ist
|
||||||
setTimeout(() => {
|
window.addEventListener('load', () => {
|
||||||
document.body.classList.remove('loading');
|
document.body.classList.remove('loading');
|
||||||
}, 3000);
|
});
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user