mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 05:00:22 +08:00
42 lines
624 B
HTML
42 lines
624 B
HTML
<div id="col">
|
|
<div id="img-wrap">
|
|
<span class="loader"></span>
|
|
</div></div>
|
|
<style>
|
|
/* From Uiverse.io by JkHuger - Tags: loader */
|
|
#col {
|
|
width: 50%;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.loader {
|
|
content: ' ';
|
|
border: 5px solid #333;
|
|
border-radius: 30px;
|
|
height: 30px;
|
|
left: 50%;
|
|
margin: -15px 0 0 -15px;
|
|
opacity: 0;
|
|
position: absolute;
|
|
top: 50%;
|
|
width: 30px;
|
|
animation: pulsate 1s ease-out;
|
|
animation-iteration-count: infinite;
|
|
}
|
|
|
|
@keyframes pulsate {
|
|
0% {
|
|
transform: scale(.1);
|
|
opacity: 0.0;
|
|
}
|
|
|
|
50% {
|
|
opacity: 1;
|
|
}
|
|
|
|
100% {
|
|
transform: scale(1.2);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
</style>
|