<style>
.styles_pulse__9HoxO {
display: inline-block;
-webkit-animation: styles_pulse-loader__5535u 1.5s ease-out infinite;
animation: styles_pulse-loader__5535u 1.5s ease-out infinite;
border-radius: 50%;
overflow: hidden;
text-indent: 50px;
background-color: #e1aa4c;
width: 8px;
height: 8px;
}
@keyframes styles_pulse-loader__5535u {
0% {
background-color: #e1aa4c;
box-shadow: 0 0 0 0 rgb(225 170 76 / 0%);
-webkit-transform: scale(1);
transform: scale(1);
}
20% {
background-color: #fbb337;
box-shadow: 0 0 0 4px rgb(225 170 76 / 60%);
-webkit-transform: scale(1.1);
transform: scale(1.1);
}
80% {
background-color: #e1aa4c;
box-shadow: 0 0 0 8px rgb(225 170 76 / 0%);
-webkit-transform: scale(1);
transform: scale(1);
}
}
</style>
css实现呼吸灯样式
最新推荐文章于 2024-07-30 08:09:49 发布