aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/css/css_counter_styles/index.html
blob: c09546d721ab30aeb41360f3aad72aa806fb3f41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
---
title: CSS Counter Styles
slug: Web/CSS/CSS_Counter_Styles
tags:
  - Aperçu
  - CSS
  - CSS Counter Styles
  - Reference
translation_of: Web/CSS/CSS_Counter_Styles
---
<div>{{cssref}}</div>

<p><em><strong>CSS Counter Styles</strong></em> est un module CSS qui permet de définir ses propres styles pour les compteurs utilisés dans les listes numérotées.</p>

<h2 id="Référence">Référence</h2>

<h3 id="Propriétés">Propriétés</h3>

<ul>
 <li>{{cssxref("counter-increment")}}</li>
 <li>{{cssxref("counter-reset")}}</li>
</ul>

<h3 id="Règles">Règles @</h3>

<ul>
  <li>{{cssxref("@counter-style")}}
  <ul>
   <li>{{cssxref("@counter-style/system","system")}}</li>
   <li>{{cssxref("@counter-style/additive-symbols", "additive-symbols")}}</li>
   <li>{{cssxref("@counter-style/negative", "negative")}}</li>
   <li>{{cssxref("@counter-style/prefix", "prefix")}}</li>
   <li>{{cssxref("@counter-style/suffix", "suffix")}}</li>
   <li>{{cssxref("@counter-style/range", "range")}}</li>
   <li>{{cssxref("@counter-style/pad", "pad")}}</li>
   <li>{{cssxref("@counter-style/speak-as", "speak-as")}}</li>
   <li>{{cssxref("@counter-style/fallback", "fallback")}}</li>
  </ul>
  </li>
</ul>

<h2 id="Guides">Guides</h2>

<dl>
 <dt><a href="/fr/docs/Web/CSS/CSS_Lists_and_Counters/Using_CSS_counters">Manipuler les compteurs CSS</a></dt>
 <dd>Cet article décrit comment utiliser les compteurs CSS afin de numéroter des éléments HTML et de réaliser des comptages complexes.</dd>
</dl>

<h2 id="Spécifications">Spécifications</h2>

<table class="standard-table">
 <thead>
  <tr>
   <th scope="col">Spécification</th>
   <th scope="col">État</th>
   <th scope="col">Commentaires</th>
  </tr>
 </thead>
 <tbody>
  <tr>
   <td>{{SpecName('CSS3 Counter Styles')}}</td>
   <td>{{Spec2('CSS3 Counter Styles')}}</td>
   <td>Définition initiale.</td>
  </tr>
 </tbody>
</table>

<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2>

<h3 id="counter-style"><code>@counter-style</code></h3>

<p>{{Compat("css.at-rules.counter-style")}}</p>

<h3 id="counter-increment"><code>counter-increment</code></h3>

<p>{{Compat("css.properties.counter-increment")}}</p>

<h3 id="counter-reset"><code>counter-reset</code></h3>

<p>{{Compat("css.properties.counter-reset")}}</p>