首页 > 解决方案 > 以俄语字母/数字显示有序列表

问题描述

下面是我写的示例代码。我尝试搜索,但不确定如何在有序列表 HTML 中显示俄语字母或俄语数字。

我浏览了这个页面:https ://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type但我找不到cyrillicRussian.

(我真的不想使用 JavaScript 来处理这个问题,除非没有其他办法。)

.russia {
  list-style-type: lower-alpha;
}
<link href="https://fonts.googleapis.com/css?family=Roboto&display=swap&subset=cyrillic" rel="stylesheet">

<ol class="russia">
  <li>Apple</li>
  <li>Babe</li>
  <li>Carrots</li>
  <li>Dungeon</li>
</ol>

标签: htmlcss

解决方案


推荐阅读