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

首頁 > 開發 > CSS > 正文

多步驟進度條的實現原理及代碼

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

今天在工作的時候寫了一個多步驟進度條的代碼,在此跟大家分享一下!

效果圖:

代碼展示:

<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>step</title></head><style> ul,li{list-style:none;} .flow_steps{height:55px;width:1000px;margin:100px auto;} .flow_steps .steps{padding-left:0;} .flow_steps ul li { float:left; height:55px; padding:0 70px 0 50px; line-height:55px; text-align:center; background:url(http://7xnlea.com2.z0.glb.qiniucdn.com/stepbg.png) no-repeat 100% 0 #E4E4E4;font-family: "microsoft yahei";color:#6C6C6C;} .flow_steps ul li.done { background-position:100% 0px; background-color:#E1E1E1;} .flow_steps ul li.current_prev { background-position:100% -55px; background-color:#E1E1E1;} .flow_steps ul li.current { color:#fff; background-color:#DD4D3C;} .flow_steps ul li.last { background-image:none;} .flow_steps ul li.first { border-radius:10px 0 0 10px; } .flow_steps ul li.last { border-radius:0 10px 10px 0; }</style><body><div class="flow_steps clearfix"> <ul class="clearfix steps"> <li class=" done first current_prev "> 第一步 </li> <li class=" current"> 第二步 </li> <li class=" "> 第三步 </li> <li class=" last"> 第四步 </li> </ul></div></body></html>

以上就是本文的全部內容,希望本文的內容對大家的學習或者工作能帶來一定的幫助,同時也希望多多支持錯新站長站!

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 肥乡县| 乡城县| 淮阳县| 广饶县| 阳朔县| 永修县| 石嘴山市| 保山市| 内江市| 高雄县| 江阴市| 商河县| 丽水市| 临湘市| 嫩江县| 理塘县| 鹤峰县| 福清市| 鹿泉市| 华蓥市| 社会| 祁东县| 顺义区| 聂荣县| 娱乐| 临潭县| 丰台区| 灵宝市| 永顺县| 镇康县| 环江| 中宁县| 张家界市| 舒兰市| 酒泉市| 扎赉特旗| 新乡市| 长宁县| 麻栗坡县| 廊坊市| 沿河|