24 lines
345 B
CSS
24 lines
345 B
CSS
|
|
.cloud-group {
|
||
|
|
height: 80px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.cloud {
|
||
|
|
font-size: 45px;
|
||
|
|
position: absolute;
|
||
|
|
}
|
||
|
|
|
||
|
|
.cloud1 {
|
||
|
|
left: 10px;
|
||
|
|
animation: floatCloud 3s ease-in-out infinite;
|
||
|
|
}
|
||
|
|
|
||
|
|
.cloud2 {
|
||
|
|
left: 60px;
|
||
|
|
animation: floatCloud 4s ease-in-out infinite;
|
||
|
|
}
|
||
|
|
|
||
|
|
@keyframes floatCloud {
|
||
|
|
0%, 100% { transform: translateX(0); }
|
||
|
|
50% { transform: translateX(10px); }
|
||
|
|
}
|