css实现横向与竖向进度条效果的方法


当前第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>

实现结果:

33d46f494b99c4ceded7cf12e379742.png

推荐教程:CSS入门基础教程

以上就是css实现横向与竖向进度条效果的方法的详细内容,更多文章请关注木庄网络博客

返回前面的内容

相关阅读 >>

css怎么设置行高

css实现动画性能优化

css怎么显示svg图片

border-collapse属性怎么用

css中tag是什么意思

html中怎么去除列表项符号

css的clearfix如何实现清楚浮动

css里面有哪些选择器

caption-side属性怎么用

为什么把css放到顶部

更多相关阅读请进入《css》频道 >>




打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...