国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 開發 > CSS > 正文

使用CSS3制作一個簡單的進度條(demo)

2024-07-11 08:58:24
字體:
來源:轉載
供稿:網友

這里只是一個小demo,一個用CSS3寫的進度條。

如圖所示:

這里寫圖片描述

具體代碼如下:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><head><title> new document </title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"   /><meta name="viewport" content="initial-scale=1"><style>.process-bar{    width:100px;    display:inline-block;    *zoom:1;}.pb-wrapper{    border:1px solid #cfd0d2;    position:relative;    background:#cfd0d2;    border-radius: 8px;}.pb-container{    height:12px;    position:relative;    left:-1px;    margin-right:-2px;    font:1px/0 arial;    padding:1px;}.pb-highlight{    position:absolute;    left:0;    top:0;    _top:1px;    width:100%;    opacity:0.6;    filter:alpha(opacity=60);    height:6px;    background:white;    font-size:1px;    line-height:0;    z-index:1}.pb-text{    width:100%;    position:absolute;    left:0;    top:0;    text-align:center;    font:10px/12px arial;    color:black;    font:10px/12px arial}</style></head><body>    <div class="process-bar skin-green">        <div class="pb-wrapper">            <div class="pb-highlight"></div>            <div class="pb-container">                <div class="pb-text">50%</div>                <div class="pb-value" style="height: 100%;width: 50%;background: #19d73d;border-radius: 8px;"></div>            </div>        </div>    </div></body></html>

以上所述是小編給大家介紹的使用CSS3制作一個簡單的進度條(demo),希望對大家有所幫助,如果大家有任何疑問請給我留言,小編會及時回復大家的。在此也非常感謝大家對武林網網站的支持!

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 淄博市| 徐州市| 正镶白旗| 抚州市| 成都市| 兰溪市| 昌邑市| 斗六市| 禄丰县| 卢龙县| 广丰县| 井研县| 当涂县| 太谷县| 全南县| 新丰县| 新巴尔虎右旗| 泰安市| 根河市| 绥德县| 浦江县| 新干县| 罗甸县| 顺平县| 兴宁市| 彝良县| 广平县| 辽阳市| 凤城市| 青龙| 贵州省| 梅州市| 盱眙县| 兴城市| 潞西市| 新竹市| 开原市| 故城县| 鸡泽县| 峨山| 彩票|