45 lines
1.2 KiB
HTML
45 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Ladeanimation Beispiel</title>
|
|
<script type="module" src="https://cdn.jsdelivr.net/npm/ldrs/dist/auto/quantum.js"></script>
|
|
<style>
|
|
body, html {
|
|
height: 100%;
|
|
margin: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.loader-container {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100%;
|
|
width: 100%;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
background-color: rgba(255, 255, 255, 0.8); /* Optional: Ein halbtransparenter Hintergrund */
|
|
z-index: 9999; /* Sicherstellen, dass die Ladeanimation immer im Vordergrund ist */
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<!-- Ladeanimation -->
|
|
<div class="loader-container">
|
|
<l-quantum
|
|
size="45"
|
|
speed="1.75"
|
|
color="black"
|
|
></l-quantum>
|
|
</div>
|
|
|
|
<!-- Deine anderen Inhalte hier -->
|
|
</body>
|
|
</html>
|
|
|