Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用数字组织一个画廊,但我总是在他们旁边看到这个烦人的点或子弹。有没有像“list-style-type:none”这样的解决方案?
谢谢
(不得不发布图片链接,因为我还不允许)
我怀疑您的图像包含在列表中,您需要将相关列表的列表样式更改为无。
做这个
body ul { list-style: none; }
这将为 Body 元素下的所有列表应用无列表样式。