HTML Dog

Skip to navigation

CSS Property: counter-reset

Resets a named counter. Only supported by Opera at the time of writing.

Possible Values

Example


h2:before {
	content: counter(chapter);
	counter-increment: chapter;
	counter-reset: section;
}