实例结果图:

完整代码:

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>加载进度条</title>
<style type="text/css">
body{
background: #e9e5e2;
}
#skill{
list-style: none;
font: 12px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
width: 296px;
margin: 50px auto 0;
position: relative;
line-height: 2em;
padding: 30px 0;
}
#skill li{
margin-bottom: 50px;
background: #e9e5e2;
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#e1ddd9), to(#e9e5e2));
background-image: -webkit-linear-gradient(#e1ddd9, #e9e5e2);
background-image: -moz-linear-gradient(#e1ddd9, #e9e5e2);
background-image: -o-linear-gradient(#e1ddd9, #e9e5e2);
background-image: linear-gradient(#e1ddd9, #e9e5e2);
height: 20px;
border-radius: 10px;
box-shadow: 0 1px 0px #bebbb9 inset,0 1px 0 #fcfcfc;
-moz-box-shadow: 0 1px 0px #bebbb9 inset, 0 1px 0 #fcfcfc;
-webkit-box-shadow: 0 1px 0px #bebbb9 inset, 0 1px 0 #fcfcfc;
}
#skill li h3{
position: relative;
top: -25px;
}
.bar{
height: 18px;
margin: 1px 2px;
position: absolute;
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
box-shadow: 0 1px 0px #fcfcfc inset, 0 1px 0 #bebbb9;
}
.graphic-design{
width: 100%;
animation: graphic-design 2s ease-out;
-moz-animation: graphic-design 2s ease-out;
-ms-animation: graphic-design 2s ease-out;
-webkit-animation: graphic-design 2s ease-out;
background: #f674a4;
background-image: -webkit-gradient(linear, left top, left bottom, from(#f674a4), to(#e06995));
background-image: -webkit-linear-gradient(top, #f674a4, #e06995);
background-image: -moz-linear-gradient(top, #f674a4, #e06995);
background-image: -ms-linear-gradient(top, #f674a4, #e06995);
background-image: -o-linear-gradient(top, #f674a4, #e06995);
background-image: linear-gradient(top, #f674a4, #e06995);
}
.html-css{
width: 90%;
background: #f0bb4b;
animation: html-css 2s ease-out;
-moz-animation: html-css 2s ease-out;
-ms-animation: html-css 2s ease-out;
-webkit-animation: html-css 2s ease-out;
background-image: linear-gradient(top, #f0bb4b, #d9aa44);
background-image: -webkit-gradient(linear, left top, left bottom, from(#f0bb4b), to(#d9aa44));
background-image: -webkit-linear-gradient(top, #f0bb4b, #d9aa44);
background-image: -moz-linear-gradient(top, #f0bb4b, #d9aa44);
background-image: -ms-linear-gradient(top, #f0bb4b, #d9aa44);
background-image: -o-linear-gradient(top, #f0bb4b, #d9aa44);
}
.jquery{
width: 80%;
background-color: #a1ce5b;
animation: jquery 2s ease-out;
-moz-animation: jquery 2s ease-out;
-ms-animation: jquery 2s ease-out;
-webkit-animation: jquery 2s ease-out;
background-image: -webkit-gradient(linear, left top, left bottom, from(#a1ce5b), to(#91ba52));
background-image: -webkit-linear-gradient(top, #a1ce5b, #91ba52);
background-image: -moz-linear-gradient(top, #a1ce5b, #91ba52);
background-image: -ms-linear-gradient(top, #a1ce5b, #91ba52);
background-image: -o-linear-gradient(top, #a1ce5b, #91ba52);
background-image: linear-gradient(top, #a1ce5b, #91ba52);
}
.wordpress{
width: 70%;
background-color: #66b3cc;
animation: wordpress 2s ease-out;
-moz-animation: wordpress 2s ease-out;
-ms-animation: wordpress 2s ease-out;
-webkit-animation: wordpress 2s ease-out;
background-image: -webkit-gradient(linear, left top, left bottom, from(#66b3cc), to(#5da3ba));
background-image: -webkit-linear-gradient(top, #66b3cc, #5da3ba);
background-image: -moz-linear-gradient(top, #66b3cc, #5da3ba);
background-image: -ms-linear-gradient(top, #66b3cc, #5da3ba);
background-image: -o-linear-gradient(top, #66b3cc, #5da3ba);
background-image: linear-gradient(top, #66b3cc, #5da3ba)
} /*动画*/
@keyframes graphic-design{
0%{width: 0px;}
100%{width: 100%;}
}
@-moz-keyframes graphic-design{
0%{width: 0px;}
100%{width: 100%;}
}
@-ms-keyframes graphic-design{
0%{width: 0px;}
100%{width: 100%;}
}
@-webkit-keyframes graphic-design{
0%{width: 0px;}
100%{width: 100%;}
} @keyframes html-css{
0%{width: 0px;}
100%{width: 90%;}
}
@-moz-keyframes html-css{
0%{width: 0px;}
100%{90%;}
}
@-ms-keyframes html-css{
0%{width: 0px;}
100%{width: 90%;}
}
@-webkit-keyframes html-css{
0%{width: 0px;}
100%{width: 90%;}
} @keyframes jquery{
0%{width: 0px;}
100%{width: 80%;}
}
@-moz-keyframes jquery{
0%{width: 0px;}
100%{80%;}
}
@-ms-keyframes jquery{
0%{width: 0px;}
100%{width: 80%;}
}
@-webkit-keyframes jquery{
0%{width: 0px;}
100%{width: 80%;}
} @keyframes wordpress{
0%{width: 0px;}
100%{width: 70%;}
}
@-moz-keyframes wordpress{
0%{width: 0px;}
100%{70%;}
}
@-ms-keyframes wordpress{
0%{width: 0px;}
100%{width: 70%;}
}
@-webkit-keyframes wordpress{
0%{width: 0px;}
100%{width: 70%;}
} </style>
</head>
<body>
<ul id="skill">
<li><span class="bar graphic-design"></span><h3>Graphic Design</h3></li>
<li><span class="bar html-css"></span><h3>Html // Css</h3></li>
<li><span class="bar jquery"></span><h3>jQuery // MoTools</h3></li>
<li><span class="bar wordpress"></span><h3>Wordpress</h3></li>
</ul>
</body>
</html>

【Demo】CSS3 动画 加载进度条的更多相关文章

  1. bootstrap课程9 bootstrap如何实现动画加载进度条的效果

    bootstrap课程9 bootstrap如何实现动画加载进度条的效果 一.总结 一句话总结:在bootstrap进度条的基础上添加js(定时器),动态的改变进度条即可.很简单的. 1.路径导航是什 ...

  2. 【Web前沿技术】纯 CSS3 打造的10个精美加载进度条动画

    之前向大家介绍8款优秀的 jQuery 加载动画和进度条插件,今天这篇文章向大家推荐10个纯 CSS3 代码实现精美加载进度条动画效果的方案.加载动画和进度条在网站和 Web 应用中的使用非常流行,特 ...

  3. css3 linear-gradient实现页面加载进度条效果

    最终效果图: html结构: <div>    <p class="p1">        <span></span>    < ...

  4. 【原生JS插件】LoadingBar页面顶部加载进度条

    先展示一下已经实现的效果: 预览地址:http://dtdxrk.github.io/js-plug/LoadingBar/index.html 看到手机上的浏览器内置了页面的加载进度条,想用在pc上 ...

  5. pace.js – 加载进度条插件

    这儿只是简单介绍一下这个插件pace.js. 在页面中引入Pace.js,页面就会自动监测你的请求(包括Ajax请求),在事件循环滞后,会在页面记录加载的状态以及进度情况.此插件的兼容性很好,可以兼容 ...

  6. 混合开发(一)——WebView开发高级技巧之加载网页以及JavaScript,加载进度条

    混合开发(一)--WebView开发高级技巧之加载网页以及JavaScript,加载进度条 现在关于混合开发也越来越多了,很多人喜欢跟随,比如HB,比如RN,其实这东西很早就有这么一个概念了,而且说实 ...

  7. pace.js – 网页自动加载进度条插件

    网站顶部的页面加载进度条是怎么实现的,页面的加载进度百分比,有时候获取是比较麻烦的,当然也可以利用一些优秀的JavaScript插件来实现,今天就为大家介绍这样子的一款插件:pace.js. [官方网 ...

  8. ajax页面加载进度条插件

    下面两个都是youtube视频的加载进度条效果的ajax插件 一.官网:http://ricostacruz.com/nprogress/官网 github:https://github.com/rs ...

  9. 仿UC浏览器图片加载进度条

    前几天用UC浏览器看新闻(无意中给UC打了广告),看到它的图片加载进度条,正好最近有时间,所以就自己写了一个. 效果图如下 进度条的底色和填充颜色都可以调整. 首先中间的笑脸作为一个整体,其实现代码如 ...

随机推荐

  1. php array_merge和运算符+

    其实很多时候我都很疑惑为什么同维度的数组不能直接使用运算+直接进行相加,然后结果就是两个数组合并的在一起的新结果,这个就有点跟array_merge合并函数类似了,接下来就来看下这两种合并的方式到底有 ...

  2. Python开发【笔记】:进程

    序言 进程与线程概述: 很多同学都听说过,现代操作系统比如Mac OS X,UNIX,Linux,Windows等,都是支持“多任务”的操作系统. 什么叫“多任务”呢?简单地说,就是操作系统可以同时运 ...

  3. Spark源码分析之Checkpoint的过程

    概述 checkpoint 的机制保证了需要访问重复数据的应用 Spark 的DAG执行图可能很庞大,task 中计算链可能会很长,这时如果 task 中途运行出错,那么 task 的整个需要重算非常 ...

  4. ScyllaDB - 基础部署

    基础环境 操作系统: CentOS 7.2: 集群节点(虚拟机):172.16.134.15 ~ 17: 基础准备 安装依赖和卸载 abrt ( abrt 和 coredump 配置冲突 ): sud ...

  5. 入坑-DM导论-第一章绪论笔记

    //本学习笔记只是记录,并未有深入思考. 1.什么是数据挖掘? 数据挖掘是数据库中发现必不可少的一部分. 数据预处理主要包括(可能是最耗时的步骤): 1.融合来自多个数据源的数据 2.清洗数据以消除噪 ...

  6. NPOI+反射+自定义特性实现上传excel转List及验证

    1.自定义特性 [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)] public ...

  7. node必知必会之node简介

    1.什么是node.js 按照: Node.js官方网站主页 的说法: Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript ...

  8. mysql索引之主键索引

    MySQL目前主要有以下几种索引类型:1.普通索引2.唯一索引3.主键索引4.组合索引5.全文索引 二.语句 CREATE TABLE table_name[col_name data type] [ ...

  9. MyBatis—动态SQL

    什么是动态SQL? 1.基于OGNL表达式 2.完成多条件查询的逻辑 3.动态SQL的主要元素 (if,trim,where,set,choose,foreach) where标签 可以根据if中是否 ...

  10. HDU 1879 继续畅通工程(Prim||Kruscal模板题)

    原题链接 Prim(点归并) //异或运算:相同为假,不同为真 #include<cstdio> #include<algorithm> #define maxn 105 us ...