The Content property was introduced as early as css2.1, and can be used: before and: After pseudo-element generation. The content property is now supported by most browsers, and the support for the content attribute can be found on the Caniuse.com
First on:Click the Options box, the following numbers dynamically display the total number, the effect is implemented by the pure CSS. How did that come about? The main thing is to rely on the CSS counter counter.The Counter-reset property of CSS
Learn CSS, the Counter property has to be understood clearly that CSS counter properties are supported by almost all browsers (including IE8), but are not often used. This article and everyone to share is counter property related content, although
MyISAM data table
After a record with the maximum number is deleted, the number cannot be reused.
You can use the "auto_increment = N" option to specify an auto-increment initial value when creating a table.
You can use the alter table table_name
How do I count the elements? In the early days, only OL and UL could sort on the pair element Li, while the CSS2.1 specification added a new counter attribute, with pseudo-elements: before,: After the content is used, the specified elements can be
I. Contents of contentUsed in conjunction with: After and: Before pseudo-elements to display content before or after the object.1. NormalThe default value, which behaves the same as the none value.2. NoneNo value is generated.3. Inserts a Label
PS:
In the process of MAP and reduce, you can set the State at any time by setting context. setstatus (). This underlying layer is also set using reporter.
1. using counter in version 0.20.x is simple and can be defined directly. If this counter
Never thought, wrote a quick three-year front end, there is no use of CSS, incredibly still have not heard, have seen the CSS properties, but also the content of CSS2!About Counter-reset, content-increment two properties of the details can see Zhang
Early on, the counters only exist in elements such as Ul,ol, and how to add counts to other elements can only be achieved by list-style-image, or background-image. But now CSS3 adds the counter attribute, which can be used to count any element.
Css content counter-reset, content-increment, and csscounterreset
Unexpectedly, after three years of writing at the front end, there were css that could not be used, and there were still css attributes that I had never heard of and met before, and
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.