当前第2页 返回上一页
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | < html >
< head >
< title >竖向进度条</ title >
< style type = "text/css" >
.loadbar
{
width:25px;
height:200px;
background-color:#fff;
border:1px solid #ccc;
position:relative;
}
.bar
{
width:100%;
display:block;
font-family:arial;
font-size:12px;
background-color:#bb9319;
color:#fff;
position:absolute;
bottom:0;
}
</ style >
</ head >
< body >
< div class = "loadbar" >
< strong class = "bar" style = 'height:30%;' >30%</ strong >
</ div >
</ body >
</ html >
|
实现结果:

推荐教程:CSS入门基础教程
以上就是css实现横向与竖向进度条效果的方法的详细内容,更多文章请关注木庄网络博客!
返回前面的内容
相关阅读 >>
css怎么设置行高
css实现动画性能优化
css怎么显示svg图片
border-collapse属性怎么用
css中tag是什么意思
html中怎么去除列表项符号
css的clearfix如何实现清楚浮动
css里面有哪些选择器
caption-side属性怎么用
为什么把css放到顶部
更多相关阅读请进入《css》频道 >>
人民邮电出版社
本书对 Vue.js 3 技术细节的分析非常可靠,对于需要深入理解 Vue.js 3 的用户会有很大的帮助。——尤雨溪,Vue.js作者
转载请注明出处:木庄网络博客 » css实现横向与竖向进度条效果的方法