我的表格如下所示:

將容器設定為:
<div class="container" style="background:white;">

我怎樣才能讓它變成白色并且這個進度條線可見?
CSS:
https://pastebin.com/0hnUjRm7
HTML:
https://pastebin.com/Wc2zWkiJ
你有什么想法?
uj5u.com熱心網友回復:
將 #progressbar li 屬性中的 css 檔案添加到 z-index: 1; 像這樣;
#progressbar li {
list-style-type: none;
font-size: 15px;
width: 20%;
float: left;
position: relative;
font-weight: 400;
z-index: 1;
}
uj5u.com熱心網友回復:
只需更改此課程
#progressbar li:after {
content: '';
width: 100%;
height: 5px;
background: lightgray;
position: absolute;
left: 0;
top: 25px;
}
#progressbar #step1:before {
content: "?";
position:relative;
z-index:1;
}
#progressbar #step2:before {
content: "?";
position:relative;
z-index:1;
}
#progressbar #step3:before {
content: "?";
position:relative;
z-index:1;
}
#progressbar #step4:before {
content: "?";
position:relative;
z-index:1;
}
#progressbar #step5:before {
content: "?";
position:relative;
z-index:1;
}

轉載請註明出處,本文鏈接:https://www.uj5u.com/net/512250.html
標籤:htmlcss推特引导
上一篇:如何在bootstrap5的標題徽標左側添加更多空間?
下一篇:如何將串列項保持在同一行?
