📜  动画 de gota css 代码示例

📅  最后修改于: 2022-03-11 14:47:41.236000             🧑  作者: Mango

代码示例1
#sun {
margin-left: -10px;
margin-top: 6px;
opacity: 0;
width: 60px;
height: 60px;
position: absolute;
left: 45px;
top: 15px;
z-index: 1;
 
animation-name: rotate;
animation-duration: 16000ms;
animation-iteration-count: infinite;
animation-timing-function: linear;
}
 
#sun path {
stroke-width: 0.18;
fill: #9ea1a4;
}
@keyframes rotate {
0% {
transform: rotateZ(0deg);
}
 
100% {
transform: rotateZ(360deg);
}
}