Path: blob/main/files/en-us/web/css/@counter-style/suffix/index.md
6520 views
------{{CSSRef}}
The suffix descriptor of the {{cssxref("@counter-style")}} rule specifies content that will be appended to the marker representation.
Syntax
Values
<symbol>: Specifies a
<symbol>that is appended to the marker representation. It may be a {{cssxref("<string>")}}, {{cssxref("<image>")}}, or {{cssxref("<custom-ident>")}}.
Formal definition
{{cssinfo}}
Formal syntax
{{csssyntax}}
Examples
Setting a suffix for a counter
HTML
CSS
Result
{{ EmbedLiveSample('Setting_a_suffix_for_a_counter')}}
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}
See also
{{Cssxref("list-style")}}, {{Cssxref("list-style-image")}}, {{Cssxref("list-style-position")}}
{{cssxref("symbols", "symbols()")}}, the functional notation creating anonymous counter styles