gpt4 book ai didi

具有特定字符的 html 列表?

转载 作者:行者123 更新时间:2023-11-28 04:08:39 25 4
gpt4 key购买 nike

有没有一种方法可以使用大于号或我选择的任何符号来设置无序列表的样式?

\> one  
\> two
\> three


♦ one
♦ two
♦ three

不使用 url()?

最佳答案

使用 li:before

<style>
ul { list-style: none; }
li:before { content: '> '}
</style>
<ul>
<li>xyz</li>
</ul>

关于具有特定字符的 html 列表?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2719021/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com