css实现圆盘转动loading加载动画效果代码
代码语言:html
所属分类:加载滚动
代码描述:css实现圆盘转动loading加载动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" class="demo-2 demo-dark"> <head> <meta charset="UTF-8" /> <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/modernizr.custom.79639.js"></script> <style> body { background-color:#222; } body:after { content:""; z-index:-1; position:absolute; top:0; right:0; bottom:0; left:0; background:-webkit-radial-gradient(center center,circle cover,rgba(0,0,0,0),rgba(0,0,0,0.75)); background:-moz-radial-gradient(center center,circle cover,rgba(0,0,0,0),rgba(0,0,0,0.75)); background:-ms-radial-gradient(center center,circle cover,rgba(0,0,0,0),rgba(0,0,0,0.75)); background:-o-radial-gradient(center center,circle cover,rgba(0,0,0,0),rgba(0,0,0,0.75)); background:radial-gradient(center center,circle cover,rgba(0,0,0,0),rgba(0,0,0,0.75)); } .spinner { position:relative; font-size:100px; width:1em; height:1em; margin:100px auto; border-radius:50%; background:#123456; box-shadow:inset 0 0 0 .12em rgba(0,0,0,0.2),0 0 0 .12em rgba(255,255,255,0.1); background:-webkit-linear-gradient(#ea2d0e 50%,#fcd883 50%),-webkit-linear-gradient(#fcd883 50%,#ea2d0e 50%); background:-moz-linear-gradient(#ea2d0e 50%,#ffdd72 50%),-moz-linear-gradient(#ffdd72 50%,#ea2d0e 50%); background:-ms-linear-gradient(#ea2d0e 50%,#ffdd72 50%),-ms-linear-gradient(#ffdd72 50%,#ea2d0e 50%); background:-o-linear-gradient(#ea2d0e 50%,#ffdd72 50%),-o-linear-gradient(#ffdd72 50%,#ea2d0e 50%); background:linear-gradient(#ea2d0e 50%,#ffdd72 50%),linear-gradient(#ffdd72 50%,#ea2d0e 50%); background-size:50% 100%,50% 100%; background-position:0 0,100% 0; background-repeat:no-repeat; opacity:0.7; -webkit-animation:mask 3s infinite alternate; -moz-animation:mask 3s infinite alternate; -ms-animation:mask 3s infinite alternate; -o-animation:mask 3.........完整代码请登录后点击上方下载按钮下载查看
网友评论0