簡體   English   中英

清單中的項目符號如何刪除

[英]Bullet in List how do i remove it

您好,我想知道如何使用CSS覆蓋此內容,我嘗試了以下內容:“。” 在我班上,但是沒有用。

.postcontent ul > li::before, .post ul > li::before, .textblock ul > li::before {
content: url('../images/postbullets.png');

謝謝你的幫助

這將從您的列表中刪除項目符號,並將其替換為您的圖片:

.postcontent ul > li {
    list-style-type: none;
    list-style-image: url('../images/postbullets.png');
}

嘗試這個:

li {list-style-type: none;} 

如何刪除列表中的項目符號? 我覺得我在誤解這個問題...

的CSS

list-style-type: none;

http://www.w3schools.com/cssref/pr_list-style-type.asp

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM