我可以在
我猜不是因为我一直在尝试示例但没有任何效果...
我很好奇为什么不呢?我该如何设置?
谢谢
I'm guessing not because I've been trying it with examples and nothing works...
I'm curious why not? And how can I set this?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当然可以。就像任何其他 HTML 元素一样。
请注意,如果 li 包含其他元素,并且这些元素有自己的字体系列设置,则该值可能会被覆盖。在这种情况下,您必须专门针对 li 内的元素,例如链接:
Sure you can. Just as for any other HTML element.
Note that if the
li
contains other elements, and those elements have their own font-family settings, the value may get overridden. In that case, you'll have to specifically target the elements inside the li, e.g. for links: