<div class="w-service-r"> <div class="img"> <div class="round"> <span></span> <div class="pulse"></div> <div class="pulse1"></div> </div> </div> </div> .w-service-r .img .round{position:absolute;width:12px;height:12px;margin-right:-6px;margin-bottom:-6px;left:69.2%;top:55.8%} .w-service-r .img .round span{display:block;position:absolute;width:100%;height:100%;background:#0726b7;border-radius:50%;z-index:9} .w-service-r .img .round span:after{position:absolute;width:4px;height:4px;content:"";left:50%;margin-left:-2px;top:50%;margin-top:-2px;background:#fff;border-radius:50%} .w-service-r .img .round .pulse{position:absolute;top:50%;left:50%;z-index:5;margin-top:-15px;margin-left:-15px;width:30px;height:30px;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;background:#0726b7;/*! box-shadow:1px 1px 20px #b90000;*/-webkit-animation:warn 3s ease-out 1.5s;-moz-animation:warn 3s ease-out 1.5s;animation:warn 3s ease-out 1.5s;-webkit-animation-iteration-count:infinite;-moz-animation-iteration-count:infinite;animation-iteration-count:infinite;transform:scale(0)} .w-service-r .img .round .pulse1{position:absolute;top:50%;left:50%;z-index:5;margin-top:-15px;margin-left:-15px;width:30px;height:30px;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;background:#0726b7;/*! box-shadow:1px 1px 20px #b90000;*/-webkit-animation:warn 3s ease-out;-moz-animation:warn 3s ease-out;animation:warn 3s ease-out;-webkit-animation-iteration-count:infinite;-moz-animation-iteration-count:infinite;animation-iteration-count:infinite;transform:scale(0)} @keyframes warn{0%{transform:scale(.3);-webkit-transform:scale(.3);opacity:0} 25%{transform:scale(.3);-webkit-transform:scale(.3);opacity:.1} 50%{transform:scale(.5);-webkit-transform:scale(.5);opacity:.3} 75%{transform:scale(.8);-webkit-transform:scale(.8);opacity:.6} 100%{transform:scale(1);-webkit-transform:scale(1);opacity:0} }
上一篇:css 文字渐变色 渐变
下一篇:黑色白色滤镜css 兼容写法