当前第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字体的上下空白
css技术是什么
css flex布局的优缺点是什么
多行文本进行截断的奇淫巧技
css文件开头怎么写
css怎么让div垂直居中
css为什么无法加载
css响应式布局之媒体查询
更多相关阅读请进入《css》频道 >>
人民邮电出版社
本书对 Vue.js 3 技术细节的分析非常可靠,对于需要深入理解 Vue.js 3 的用户会有很大的帮助。——尤雨溪,Vue.js作者
转载请注明出处:木庄网络博客 » css实现横向与竖向进度条效果的方法