92 lines
1.8 KiB
HTML
92 lines
1.8 KiB
HTML
<!-- @format -->
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Document</title>
|
|
</head>
|
|
|
|
<body>
|
|
<svg class="spinner" viewBox="0 0 50 50">
|
|
<circle class="path" cx="25" cy="25" r="20" fill="none" stroke-width="5"></circle>
|
|
</svg>
|
|
<style>
|
|
html,
|
|
body {
|
|
overflow: hidden;
|
|
height: 100%;
|
|
background-image: linear-gradient(-105deg, #009acc, #363795);
|
|
}
|
|
|
|
.spinner {
|
|
-webkit-animation: rotate 2s linear infinite;
|
|
animation: rotate 2s linear infinite;
|
|
z-index: 2;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
margin: -25px 0 0 -25px;
|
|
width: 50px;
|
|
height: 50px;
|
|
}
|
|
|
|
.spinner .path {
|
|
stroke: #93bfec;
|
|
stroke-linecap: round;
|
|
-webkit-animation: dash 1.5s ease-in-out infinite;
|
|
animation: dash 1.5s ease-in-out infinite;
|
|
}
|
|
|
|
@-webkit-keyframes rotate {
|
|
100% {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
@keyframes rotate {
|
|
100% {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
@-webkit-keyframes dash {
|
|
0% {
|
|
stroke-dasharray: 1, 150;
|
|
stroke-dashoffset: 0;
|
|
}
|
|
|
|
50% {
|
|
stroke-dasharray: 90, 150;
|
|
stroke-dashoffset: -35;
|
|
}
|
|
|
|
100% {
|
|
stroke-dasharray: 90, 150;
|
|
stroke-dashoffset: -124;
|
|
}
|
|
}
|
|
|
|
@keyframes dash {
|
|
0% {
|
|
stroke-dasharray: 1, 150;
|
|
stroke-dashoffset: 0;
|
|
}
|
|
|
|
50% {
|
|
stroke-dasharray: 90, 150;
|
|
stroke-dashoffset: -35;
|
|
}
|
|
|
|
100% {
|
|
stroke-dasharray: 90, 150;
|
|
stroke-dashoffset: -124;
|
|
}
|
|
}
|
|
</style>
|
|
</body>
|
|
|
|
</html> |