国产探花免费观看_亚洲丰满少妇自慰呻吟_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>

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

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 乐业县| 阳东县| 山丹县| 罗田县| 阳江市| 西华县| 嘉义市| 淮北市| 衡南县| 甘孜| 辛集市| 清丰县| 舟山市| 辽宁省| 松阳县| 禄丰县| 黎川县| 南皮县| 柏乡县| 伊宁县| 白沙| 鱼台县| 珲春市| 兴海县| 苏尼特右旗| 西丰县| 天门市| 牟定县| 涞源县| 敖汉旗| 万载县| 邹平县| 天门市| 通化县| 博客| 宾阳县| 长沙市| 永仁县| 新邵县| 永登县| 聊城市|