CSS Lists and Counters

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)

© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Lists_and_Counters

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部