如何调整css列表中图像的大小

jjjwad0x  于 2023-01-14  发布在  其他
关注(0)|答案(1)|浏览(172)

enter image description here请我怎么能调整到正常的复选标记图标的网页上的css,我是一个新手,我不知道我怎么能让图标看起来更小
enter image description here
我不知道如何调整图标的大小,我只知道如何将图像放置在我的列表项中

jmo0nnb3

jmo0nnb31#

也许像这样的东西会有用

li {
      list-style: none;
      padding-left: 30px;
      background-image:url("https://www.svgrepo.com/show/35641/dot.svg");
      background-repeat: no-repeat;
      background-size: 20px;
}
<ul>
        <li>a</li>
        <li>b</li>
        <li>c</li>
    </ul>

相关问题