前端水波纹往外展开4

2019-03-04 09:53:54来源:博客园 阅读 ()

新老客户大回馈,云服务器低至5折

来自:https://blog.csdn.net/qq_38658877/article/details/78092649 侵删
<!
DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> <style type="text/css"> .example { position: relative; margin: 150px auto; width: 50px; height: 50px; } .dot:before { content: ' '; position: absolute; z-index: 2; left: 0; top: 0; width: 10px; height: 10px; background-color: #ff4200; border-radius: 50%; } .dot:after { content: ' '; position: absolute; z-index: 1; width: 10px; height: 10px; background-color: #ff4200; border-radius: 50%; box-shadow: 0 0 10px rgba(0, 0, 0, .3) inset; -webkit-animation: waveCircle 1s ease infinite normal; /*-webkit-animation-name: ripple; -webkit-animation-duration: 1s; -webkit-animation-timing-function: ease; -webkit-animation-delay: 0s; -webkit-animation-iteration-count: infinite; -webkit-animation-direction: normal;*/ } @keyframes waveCircle { 0% { left: 5px; top: 5px; width: 0; height: 0; } 100% { left: -20px; top: -20px; opacity: 0; width: 50px; height: 50px; } } </style> </head> <body> <div class="example"> <div class="dot"></div> </div> </body> </html>

 


原文链接:https://www.cnblogs.com/Byme/p/10471527.html
如有疑问请与原作者联系

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:flex 输入框布局

下一篇:flex 圣杯布局