《
CSS实现的简易进度条》文章地址:http://www.tfxk.com/wangyesheji/jianzhanjingyan/0302333442013.htm
Tag:进度条 进度条
CSS:
程序代码
<style>
#graphbox{
border:1px solid #e7e7e7;
padding:10px;
width:250px;
background-color:#f8f8f8;
margin:5px 0;
}
#graphbox h2{
color:#666666;
font-family:Arial;
font-size:18px;
font-weight:700;
}
.graph{
position:relative;
background-color:#F0EFEF;
border:1px solid #cccccc;
padding:2px;
font-size:13px;
font-weight:700;
}
.graph .orange, .green, .blue, .red, .black{
position:relative;
text-align:left;
color:#ffffff;
height:18px;
line-height:18px;
font-family:Arial;
display:block;
}
.graph .orange{background-color:#ff6600;}
.graph .green{background-color:#66CC33;}
.graph .blue{background-color:#3399CC;}
.graph ,CSS实现滑动导航栏效果.red{background-color:red;}
.graph ,CSS实现渐变 兼容各主流浏览器.black{background-color:#555;}
</style>
HTML:
程序代码
<div id="graphbox",CSS实现强制浏览器分页;>
<h2>BarGraphs Example</h2>
<div class="graph",CSS实现强制不换行、自动换行、强制换行的css代码;><span class="orange" style="width:35%;">orange:35%</span></div>
<div class=",CSS实现居中显示的几种办法;graph"><span class="green" style="width:90%;">green:90%<,css实现多级下拉菜单;/span></div>
<div class="graph"><span class="blue",CSS实现凹陷字效果; style="width:75%;">blue:75%</span></div>
<,CSS实战:美化段落文本之首字下沉;div class="graph"><span class="red" style="width:85%;">red:85%</span></div>
<div class=",CSS实例:图片水平垂直居中于DIV(图片宽高未知);graph"><span class=",CSS实例: nth-child和 nth-type-of的区别;black" style="width:100%;">black:100%</span></div>
</div>
--> [
网站建设之]CSS实现的简易进度条
(责任编辑:网站建设)
CSS实现的简易进度条相关文章