galaxy/loaders/Nawsome_light-husky-91.html

97 lines
1.6 KiB
HTML

<div class="loader">
<div class="wrapper">
<div class="circle"></div>
<div class="line-1"></div>
<div class="line-2"></div>
<div class="line-3"></div>
<div class="line-4"></div>
</div>
</div>
<style>
/* From Uiverse.io by Nawsome - Tags: loader, placeholder */
.loader {
position: relative;
width: 240px;
height: 130px;
margin-bottom: 10px;
border: 1px solid #d3d3d3;
padding: 15px;
background-color: #e3e3e3;
overflow: hidden;
}
.loader:after {
content: "";
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
background: linear-gradient(110deg, rgba(227, 227, 227, 0) 0%, rgba(227, 227, 227, 0) 40%, rgba(227, 227, 227, 0.5) 50%, rgba(227, 227, 227, 0) 60%, rgba(227, 227, 227, 0) 100%);
animation: gradient-animation_2 1.2s linear infinite;
}
.loader .wrapper {
width: 100%;
height: 100%;
position: relative;
}
.loader .wrapper > div {
background-color: #cacaca;
}
.loader .circle {
width: 50px;
height: 50px;
border-radius: 50%;
}
.loader .button {
display: inline-block;
height: 32px;
width: 75px;
}
.loader .line-1 {
position: absolute;
top: 11px;
left: 58px;
height: 10px;
width: 100px;
}
.loader .line-2 {
position: absolute;
top: 34px;
left: 58px;
height: 10px;
width: 150px;
}
.loader .line-3 {
position: absolute;
top: 57px;
left: 0px;
height: 10px;
width: 100%;
}
.loader .line-4 {
position: absolute;
top: 80px;
left: 0px;
height: 10px;
width: 92%;
}
@keyframes gradient-animation_2 {
0% {
transform: translateX(-100%);
}
100% {
transform: translateX(100%);
}
}
</style>