博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
css loading
阅读量:6937 次
发布时间:2019-06-27

本文共 1482 字,大约阅读时间需要 4 分钟。

css 

/*loading*/      .loader {        width: 100px;        height: 101px;        border: 8px solid;        border-top-color: hsl(154,100%,31%);        border-left-color: hsl(216,87%,52%);        border-bottom-color: hsl(8,66%,50%);        border-right-color: hsl(42,100%,51%);        border-radius: 50%;        transform: rotate(45deg);        margin: 30px auto;      }      p.loading {        display: inline-block;        width: 107px;        height: 107px;        /* The background is used to specify the border background */        background: linear-gradient(90deg, hsla(212,67%,36%,0) 0%,                                               hsla(207,69%,51%,0) 76%,                                               hsla(0,0%,100%,1) 85%,                                               hsla(0,0%,100%,1) 100%); /* W3C */        /* Background origin is the padding box by default.        Override to make the background cover the border as well. */        -moz-background-origin: border;        background-origin: border-box;        /* A transparent border determines the width */        border: 6px solid transparent;        border-radius: 50%;        box-shadow: inset -999px 0 0 #fff; /* The background color */        transform: translate(-8px, 55px);        animation: loading 1s linear infinite;      }      @keyframes loading {          0% { transform: translate(-9px, -25px) rotate(0deg); }        100% { transform: translate(-9px, -25px) rotate(360deg); }      }

效果如下:

 

 更多loading:

转载地址:http://xvbnl.baihongyu.com/

你可能感兴趣的文章
TCP连接建立和终止及TCP状态转换
查看>>
据报道微软将从明年一月份起推行Windows RT平板发行许可政策
查看>>
Linux权限命令之umask和mktemp
查看>>
objective c:循环引用
查看>>
计算label的高度:boundingRectWithSize的使用
查看>>
我的友情链接
查看>>
shell脚本
查看>>
linux命令学习(30)-parted
查看>>
SSHD连接操作
查看>>
foundation-datepicker-1.5.6 的使用
查看>>
HTML5应用与原生应用之间的差异
查看>>
写更好的代码,还是写更少的代码?
查看>>
行如风 Angular 初识5
查看>>
关于set_new_handler(转载)
查看>>
[硕.Love Python] FibonacciHeap(F堆 & 斐波那契堆)
查看>>
java.lang.NoClassDefFoundError: net/tsz/afinal/htt
查看>>
我的友情链接
查看>>
SpringBoot入门之缓存
查看>>
创新=深刻的底层认识+丰富的想象力
查看>>
linux上安装Oracle 11g R2 标准版 64位
查看>>