- Dapatkan pautan
- E-mel
- Apl Lain
Demo
HTML view ▼
<div class="labu">
<div class="labi"></div>
</div>
<style>
.labu {
display: flex;
justify-content: center;
align-items: center;
height: 58vh;
border-radius: 10px;
background: #003152;
}
.labi {
width: 30vw;
height: 20vw;
border-radius: 0%;
background: #38761d;
position: relative;
animation: spinAndputar 4s linear infinite;
}
@keyframes spinAndputar {
0% {
transform: rotate(0);
box-shadow: 0 0 0 0 rgba(217, 234, 211, 0.7);
}
30% {
transform: rotate(360deg);
box-shadow: 0 0 50px 50px rgba(217, 234, 211, 0.7);
}
60% {
transform: rotate(720deg);
box-shadow: 0 0 0 0 rgba(217, 234, 211, 0);
background: #D3000E;
border: 1px solid rgba(180, 180, 180, 0.8);
border-radius: 50%;
}
100% {
transform: rotate(720deg);
box-shadow: 0 0 0 0 rgba(217, 234, 211, 0);
background: #38761d;
border: 1px solid rgba(180, 180, 180, 0.8);
}
}
</style>
<div class="labi"></div>
</div>
<style>
.labu {
display: flex;
justify-content: center;
align-items: center;
height: 58vh;
border-radius: 10px;
background: #003152;
}
.labi {
width: 30vw;
height: 20vw;
border-radius: 0%;
background: #38761d;
position: relative;
animation: spinAndputar 4s linear infinite;
}
@keyframes spinAndputar {
0% {
transform: rotate(0);
box-shadow: 0 0 0 0 rgba(217, 234, 211, 0.7);
}
30% {
transform: rotate(360deg);
box-shadow: 0 0 50px 50px rgba(217, 234, 211, 0.7);
}
60% {
transform: rotate(720deg);
box-shadow: 0 0 0 0 rgba(217, 234, 211, 0);
background: #D3000E;
border: 1px solid rgba(180, 180, 180, 0.8);
border-radius: 50%;
}
100% {
transform: rotate(720deg);
box-shadow: 0 0 0 0 rgba(217, 234, 211, 0);
background: #38761d;
border: 1px solid rgba(180, 180, 180, 0.8);
}
}
</style>
Warna latar belakang logo-logo ..
Catatan oleh
Orandableg
- Dapatkan pautan
- E-mel
- Apl Lain
Ulasan