57 lines
1.8 KiB
HTML
57 lines
1.8 KiB
HTML
<!doctype html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<style>
|
|
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
body {
|
|
width: 100vw; height: 100vh;
|
|
display: flex; align-items: center; justify-content: center;
|
|
background: transparent;
|
|
overflow: hidden;
|
|
}
|
|
.logo-wrap {
|
|
width: 80px; height: 80px;
|
|
position: relative;
|
|
}
|
|
.logo-wrap svg {
|
|
width: 100%; height: 100%;
|
|
}
|
|
.line {
|
|
fill: none;
|
|
stroke: #DA002D;
|
|
stroke-width: 6;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
stroke-dasharray: 600;
|
|
stroke-dashoffset: 600;
|
|
animation: draw 3s ease-in-out infinite alternate;
|
|
}
|
|
.line:nth-child(2) { animation-delay: 0.3s; }
|
|
.line:nth-child(3) { animation-delay: 0.6s; }
|
|
.line:nth-child(4) { animation-delay: 0.9s; }
|
|
.line:nth-child(5) { animation-delay: 1.2s; }
|
|
.line:nth-child(6) { animation-delay: 1.5s; }
|
|
.line:nth-child(7) { animation-delay: 1.8s; }
|
|
@keyframes draw {
|
|
0% { stroke-dashoffset: 600; opacity: 0.2; }
|
|
50% { stroke-dashoffset: 0; opacity: 1; }
|
|
100% { stroke-dashoffset: 600; opacity: 0.2; }
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="logo-wrap">
|
|
<svg viewBox="0 0 430 430" xmlns="http://www.w3.org/2000/svg">
|
|
<path class="line" d="M160,250 C160,250 160,180 160,180 C160,180 160,320 160,320" />
|
|
<path class="line" d="M205,130 C205,130 205,370 205,370" />
|
|
<path class="line" d="M250,250 C250,250 250,195 250,195 C250,195 250,305 250,305" />
|
|
<path class="line" d="M295,120 C295,120 295,380 295,380" />
|
|
<path class="line" d="M340,250 C340,250 340,185 340,185 C340,185 340,315 340,315" />
|
|
<path class="line" d="M360,295 C360,295 360,210 360,210 C360,210 385,275 385,275" />
|
|
<path class="line" d="M100,280 C100,280 100,220 100,220 C100,220 100,280 100,280" />
|
|
</svg>
|
|
</div>
|
|
</body>
|
|
</html>
|