亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

bootstrap里的基礎列表組是怎么把列表圓點去掉的。

觀察了下源碼。。沒看到消除列表圓點的代碼啊。。

.list-group?{
??padding-left:?0;
??margin-bottom:?20px;
}
.list-group-item?{
??position:?relative;
??display:?block;
??padding:?10px?15px;
??margin-bottom:?-1px;
??background-color:?#fff;
??border:?1px?solid?#ddd;
}
.list-group-item:first-child?{
??border-top-left-radius:?4px;
??border-top-right-radius:?4px;
}
.list-group-item:last-child?{
??margin-bottom:?0;
??border-bottom-right-radius:?4px;
??border-bottom-left-radius:?4px;
}


正在回答

1 回答

display: block;

<!DOCTYPE?html>
<html>
<head>
????<meta?charset="UTF-8">
????<title>去掉ul中li前的點.html</title>
????<style?type="text/css">
????ul?li?{
????????display:?block;
????}
????</style>
</head>
<body>
<ul>
????<li>無序列表</li>
????<li>無序列表</li>
????<li>無序列表</li>
????<li>無序列表</li>
????<li>無序列表</li>
</ul>
</body>
</html>


0 回復 有任何疑惑可以回復我~
#1

一個非相關專業的人 提問者

原來定義成塊級元素點就去掉了。。感激不盡
2018-04-19 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

bootstrap里的基礎列表組是怎么把列表圓點去掉的。

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號