<div class="z_sb_bar">
<img src="https://www.zt-tek.com/public/images/mouse.png">
<div class="z_pao">
<span></span><span></span><span></span><span></span><span></span>
</div>
</div>
.z_sb_bar {
display: block;
position: relative;
width: 60px;
height: 60px;
z-index: 2;
background: #17aa59;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
.z_sb_bar img {
max-width: 80%;
max-height: 80%;
transition: ease 1s;
display: block
}
.z_sb_bar::before {
content: '';
display: block;
width: 100%;
height: 100%;
background: rgba(23,170,89,.6);
position: absolute;
left: 0;
top: 0;
border-radius: 50%;
z-index: -1;
animation: consult linear 2s infinite
}
@keyframes consult {
0%,100% {
transform: scale(1);
opacity: 1
}
50% {
transform: scale(1.5);
opacity: 0
}
}
@keyframes zoombig {
0% {
transform: scale(1.1,1.1)
}
100% {
transform: scale(1,1)
}
}
.z_pao {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0
}
.z_pao span,.z_news_pao span {
display: block;
width: 20px;
height: 20px;
border-radius: 50%;
z-index: -1;
transition: ease 1s;
position: absolute;
left: 50%;
bottom: 0px;
transform: translateX(-50%);
opacity: 0
}
.z_pao span:nth-child(1) {
background: rgba(23,170,89,.6);
animation: pao 4s linear infinite
}
.z_pao span:nth-child(2) {
background: rgba(23,170,89,.8);
animation: pao3 6s linear infinite;
animation-delay: .3s
}
.z_pao span:nth-child(3) {
background: rgba(23,170,89,1);
animation: pao2 3s linear infinite;
animation-delay: .8s
}
.z_pao span:nth-child(4) {
animation: pao4 9s linear infinite;
background: rgba(23,170,89,.3)
}
.z_pao span:nth-child(5) {
animation: pao5 7s linear infinite;
background: rgba(23,170,89,.5)
}
@keyframes pao {
0% {
transform: translate(200%,-30px) rotate(360deg) scale(.4,.4);
opacity: 1
}
50% {
transform: translate(0%,-70px) rotate(360deg) scale(.8,.8);
opacity: .5
}
100% {
transform: translate(-200%,-100px) rotate(360deg) scale(1,1);
opacity: 0
}
}
@keyframes pao2 {
0% {
transform: translate(-200%,0px) rotate(360deg) scale(1,1);
opacity: 1
}
50% {
transform: translate(250%,-50px) rotate(360deg) scale(.8,.8);
opacity: .5
}
100% {
transform: translate(100%,-100px) rotate(360deg) scale(.4,.4);
opacity: 0
}
}
@keyframes pao3 {
0% {
transform: translate(0%,0px) rotate(360deg) scale(1,1);
opacity: 1
}
50% {
transform: translate(-250%,-50px) rotate(360deg) scale(.8,.8);
opacity: .5
}
100% {
transform: translate(-300%,-100px) rotate(360deg) scale(.4,.4);
opacity: 0
}
}
@keyframes pao4 {
0% {
transform: translate(400%,0px) rotate(360deg) scale(1,1);
opacity: 1
}
50% {
transform: translate(400%,-50px) rotate(360deg) scale(.8,.8);
opacity: .5
}
100% {
transform: translate(-100%,-100px) rotate(360deg) scale(.4,.4);
opacity: 0
}
}
@keyframes pao5 {
0% {
transform: translate(-400%,0px) rotate(360deg) scale(.1,.1);
opacity: 1
}
50% {
transform: translate(-400%,-50px) rotate(360deg) scale(.6,.6);
opacity: .5
}
100% {
transform: translate(0%,-100px) rotate(360deg) scale(1,1);
opacity: 0
}
}上一篇:字体 字体包 字体引入
下一篇:已经是最后一篇