Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

CSS Lists and Counters

我们的志愿者还没有将这篇文章翻译为 中文 (简体)加入我们帮助完成翻译!

CSS Lists and Counters is a module of CSS that defines how lists are laid out, how the list marker can be styled and how authors can create new counters.

Reference

Properties

At-rules

@counter-style

Guides

Consistent list indentation
Explains how to reach a consistent indentation between different browsers.
Using CSS counters
Describes how to use counters to be able to use numbering outside of traditional list elements or to perform complex counting.

Specifications

Specification Status Comment
CSS Lists and Counters Module Level 3 Working Draft  
CSS Level 2 (Revision 1) Recommendation Initial definition

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support 1.0 1.0 (1.7 or earlier) (Yes) (Yes) (Yes)
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support 1.0 1.0 (1) (Yes) (Yes) (Yes)

文档标签和贡献者

 此页面的贡献者: TylerH, Sebastianz, teoli
 最后编辑者: TylerH,