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字体的上下空白

css技术是什么

css flex布局的优缺点是什么

多行文本进行截断的奇淫巧技

css文件开头怎么写

css怎么让div垂直居中

css为什么无法加载

css响应式布局之媒体查询

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




打赏

取消

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

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

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

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

评论

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