去除li和ul中的黑点 [英] Removing black dots from li and ul

查看:170
本文介绍了去除li和ul中的黑点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在一个项目上,我正在使用一些ul和li。

Im working on a project and im using some ul and li's.

但是我似乎无法弄清楚如何删除那些列表附带的讨厌的黑点。 。

But i cant seem to figure out how to remove those pesky black dots that come with those lists.

任何人都可以帮我吗?

编辑:如果我完全忘记搜索该网站,已经有答案(derp)了!将此标记为重复,谢谢大家的帮助!

i completely forgot to search this site if there was already an answer (derp) turns out there was! Marked this as a duplicate, thanks for helping me everyone!

推荐答案

Relatable post

您引用的那些讨厌的黑点被称为

Those pesky black dots you are referencing to are called bullets.

它们非常容易删除,只需将此行添加到CSS中即可:

They are pretty simple to remove, just add this line to your css:

ul {
    list-style-type: none;
}

希望这会有所帮助

这篇关于去除li和ul中的黑点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆