From 074785cea106179cb3305637055ab0a009ca74f2 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:42:52 -0500 Subject: initial commit --- files/pt-pt/web/css/counter-reset/index.html | 69 ++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 files/pt-pt/web/css/counter-reset/index.html (limited to 'files/pt-pt/web/css/counter-reset/index.html') diff --git a/files/pt-pt/web/css/counter-reset/index.html b/files/pt-pt/web/css/counter-reset/index.html new file mode 100644 index 0000000000..709c4f8112 --- /dev/null +++ b/files/pt-pt/web/css/counter-reset/index.html @@ -0,0 +1,69 @@ +--- +title: counter-reset +slug: Web/CSS/counter-reset +tags: + - CSS + - CSS List + - CSS Property + - CSS Reference +translation_of: Web/CSS/counter-reset +--- +

{{ CSSRef() }}

+ +

Resumo

+ +

counter-reset é usado para reiniciar os CSS Counters a um valor dado.

+ + + +

Sintaxe

+ +
counter-reset: [<identifier> <integer>?]+ | inherit | none
+
+ +

Valores

+ +
+
identifier 
+
O nome do contador para reiniciar.
+
integer 
+
O valor para reiniciar o contador para cada ocorrência do elemento. O padrão é 0 se nada for dado.
+
+ +

Você pode especificar como muitos contadores para reiniciar quando você quiser, cada um separado por um espaço.

+ +

Propriedades relacionadas

+ + + +

Exemplos

+ +
h1 {
+  counter-reset: chapter section 1 page;
+  /* Configura os contadores de capítulo e página em 0
+     e o contador da seção em 1. */
+}
+
+ +

== Notas ==

+ +

Especificações

+ + + +

== Browser compatibility ==

+ +

Veja também

+ +

CSS Counters, {{ Cssxref("counter-increment") }}, {{ Cssxref("counter-reset") }}

+ +

Categorias

+ +

Interwiki Language Links

-- cgit v1.2.3-54-g00ecf