counter
UK[ˈkaʊntə(r)] US[ˈkaʊntɚ]
n.Counter;counter;opposite;(certain board game) chips
adj. Opposite
vt. Counterattack, fight back; move in the opposite direction, confront; retort, answer
vi. Move in the opposite direction, confront; rebuttal
adv. In the opposite direction; in the opposite direction
Third person singular: counters Plural: counters Present participle: countering Past tense: countered Past participle: countered
reset
英[ˌri:ˈset] 美[riˈsɛt]
vt.Reset; rearrange; reinstall
n.Replace; replay something
vi.Reset; clear
Third person singular: resets Present participle: resetting Past tense: reset Past participle: reset
css counter-reset property syntax
Function:Set the value of the counter for the number of occurrences of a certain selector. Default is 0.
Description: Using this attribute, the counter can be set or reset to any value, either positive or negative. If number is not provided, it defaults to 0.
Note: If "display: none" is used, the counter cannot be reset. If you use "visibility: hidden" you can reset the counter. All browsers support the counter-reset attribute.
css counter-reset property example
<!DOCTYPE> <html> <head> <style type="text/css"> a:after {content: " (" attr(href) ")" } </style> </head> <body> <p><a href="http://www.php.cn">php中文网</a>有很多免费的视频教程</p> <p><b>注释:</b>如果已规定 !DOCTYPE,那么 Internet Explorer 8 (以及更高版本)支持 content 属性。</p> </body> </html>
Run instance »
Click the "Run instance" button to view the online instance