纯css3实现的动画加载特效_html/css_WEB-ITnose

php中文网
发布: 2016-06-24 11:50:02
原创
1475人浏览过

之前给大家带了很多款进度加载条,今天再给大家分享一款纯css3实现的动画加载特效。效果图如下:

在线预览   源码下载

实现的代码。

html代码:

立即学习前端免费学习笔记(深入)”;

来画数字人直播
来画数字人直播

来画数字人自动化直播,无需请真人主播,即可实现24小时直播,无缝衔接各大直播平台。

来画数字人直播0
查看详情 来画数字人直播

  <div class="wrap">        <div class="curve3">        </div>        <div class="curve2">            <div class="text">                15            </div>        </div>        <div class="curve">            <div class="topleft">            </div>            <div class="bottomright">            </div>        </div>        <div class="bottomleft glow">        </div>        <div class="topright">        </div>    </div>
登录后复制

css3代码:

body {   background: #252527;}.wrap {  width:200px;  margin-left:auto;  margin-right:auto;  position:relative;}.curve {  left:200px;  width:200px;  height:200px;  border-radius:100px;  background: #252527;  -webkit-animation: spin 1.5s;   -webkit-animation-iteration-count: infinite;  -webkit-animation-timing-function: linear;   -moz-animation: spin 1.5s;   -moz-animation-iteration-count: infinite;  -moz-animation-timing-function: linear;  animation: spin 1.5s;  animation-iteration-count: infinite;  animation-timing-function: linear;}@-webkit-keyframes spin {  0% {    -webkit-transform: rotate(0deg);}  100% {-webkit-transform: rotate(360deg);}}@-moz-keyframes spin {  0% {    -moz-transform: rotate(0deg);}  100% {-moz-transform: rotate(360deg);}}@keyframes spin {  0% {    -moz-transform: rotate(0deg);}  100% {-moz-transform: rotate(360deg);}}.curve3 {  position:absolute;  margin-top:149px;  width:200px;  height:200px;  border-radius:100px;  box-shadow: 0px 3px 5px 0.02em #888888;}.glow {  box-shadow: 0px 3px 15px 0.02em #888888}.topleft {  width:100px;  height:100px;  border-top-left-radius:100px;  background:-webkit-linear-gradient(top right, #AAAAB3 10%, #252527 80%);  background:-moz-linear-gradient(top right, #AAAAB3 10%, #252527 80%);  background:linear-gradient(to bottom left, #AAAAB3 10%, #252527 80%);}.bottomright {  width:100px;  height:100px;  border-bottom-right-radius:100px; background:-webkit-linear-gradient( top right, #252527 20%, #AAAAB3 90%);  background:-moz-linear-gradient( top right, #252527 20%, #AAAAB3 90%);  background:linear-gradient( to bottom left, #252527 20%, #AAAAB3 90%);  position:relative;  left:100px;}.curve2 {  top:175px;  left:25px;  position:relative;  width:150px;  height:150px;  border-radius:100px;background-color:#252527;  z-index:2;  box-shadow: 0px 0px 5px 0.02em #888888;}.text {  display:inline-block;  font-family: 'Oswald';  font-size:80px;  margin-left: 40px;  margin-top: 16px;  background:-webkit-linear-gradient( top left, white, #ffd700, #998100 80%);  -webkit-background-clip:text;  -webkit-text-fill-color: transparent;  color:#ffd700;}.bottomleft {  width:50px;  height:50px;  margin-right:;  border-bottom-left-radius:50px;  background:#252527;  position:relative;  z-index:-4;  top:-100px;}.glow {  box-shadow: 16px 30px 30px 5px #ffffff;}.topright {  width:50px;  height:50px;  border-top-right-radius:50px;  background:#252527;  position:relative;  left:125px;  bottom:220px;   box-shadow: 5px -5px 35px 5px #ffffff;   z-index:-4;}
登录后复制

via:http://www.w2bc.com/Article/19040

HTML速学教程(入门课程)
HTML速学教程(入门课程)

HTML怎么学习?HTML怎么入门?HTML在哪学?HTML怎么学才快?不用担心,这里为大家提供了HTML速学教程(入门课程),有需要的小伙伴保存下载就能学习啦!

下载
来源:php中文网
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
最新问题
开源免费商场系统广告
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 意见反馈 讲师合作 广告合作 最新更新 English
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习
PHP中文网抖音号
发现有趣的

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号