CSS list-style-type:简介

The CSS3 Lists Module has vastly expanded the variety of markers that can be applied to lists, including dozens of languages. There are so many possibilities that I will be dividing coverage into several sections: glyphs(unordered) and symbolic (ordered) systems; algorithmic, alphabetical, numeric and non-repeating systems (for ordered lists).

CSS3列表模块极大地扩展了可应用于列表的多种标记,包括数十种语言。 有很多可能性,我将把覆盖范围分成几个部分:字形(无序)和符号(有序)系统; 算法,字母,数字和非重复系统(用于有序列表)。

While the complete proposal for CSS lists has been around for a decade, browser support is still extremely limited: as of this writing, only a few new alphanumeric types, such as norwegian and hexidecimal, are present in most browsers. For that reason, I will only be writing about CSS list values as they become supported. Font selection may also influence the display of lists (not every font has built-in characters for counting in Thai, for example). If you see future examples displayed as empty rectangles, missing Unicode symbols or plain Arabic numerals, it is likely that your browser does not support the list-style-type under discussion.

尽管有关CSS列表的完整建议已经存在了十年,但对浏览器的支持仍然极为有限:在撰写本文时,大多数浏览器中仅出现了几种新的字母数字类型,例如norwegian和hexidecimal。 出于这个原因,我将只在支持CSS列表值时编写它们。 字体选择也可能会影响列表的显示(例如,并非每种字体都有内置字符供泰语计数)。 如果您看到将来的示例显示为空矩形,缺少Unicode符号或纯阿拉伯数字,则您的浏览器可能不支持所讨论的list-style-type

Finally, note that these new values expand on those for CSS1 and 2, and are used in addition to those basic values.

最后,请注意,这些新值扩展CSS1和2的值 ,并且除了这些基本值之外 ,还使用了这些新值。

翻译自: https://thenewcode.com/302/CSS-list-style-type-Introduction

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值