A detailed description of the CSS counter counter

Source: Internet
Author: User


Counter-increment:one; /* Name the counter one*/

Counter-reset:two; /* Reset the counter to zero */






Content:counter (one,Georgian) '. '; /* Here call counter one, the display style is georgian*/





Content: ' Counter ' (ii) ' Ben. ';






<div> Java language Usage Tutorials </div>

<div>c++ Language Programming </div>

<DIV>CSS website Layout </div>

<div> Level four Vocabulary </div>

<div> University Professional English </div>

<div> Ichovan Recitation </div>



counter (name) or counter (name, style)

Here's a look at style style:

  • disc :实心圆点;
  • circle:空心圆点;
  • square:实心方块;
  • decimal:阿拉伯数字;
  • lower-roman:I, II, III, IV, v ...
  • upper-roman.: I, II, III, IV, V ...
  • lower-greek:Α,β,γ ...
  • upper-latin:A, B, C, ... Z
  • simp-chinese-formal:One, II, three ...
  • cjk-ideographic:一,二,三...

More styles:


A detailed description of the CSS counter counter

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.