We're looking for a person or people to help audit MDN to find places we could speed up. Is this you or someone you know? Check out the RFP: https://mzl.la/2IHcMiE


The fallback descriptor can be used to specify a counter style to fall back to if the current counter style cannot create a marker representation for a particular counter value. If the specified fallback style is also unable to construct a representation, then its fallback style will be used. If a valid fallback style is not specified, it defaults to decimal.

A couple of scenarios where a fallback style will be used are:

  • When the range descriptor is specified for a counter style, the fallback style will be used to represent values that fall outside the range.
  • When the fixed system is used and there are not enough symbols to cover all the list items, the fallback style will be used for the rest of the list items.

Related at-rule@counter-style
Initial valuedecimal
Computed valueas specified
Canonical orderthe unique non-ambiguous order defined by the formal grammar


/* Keyword values */
fallback: lower-alpha;
fallback: custom-gangnam-style;

Formal syntax


<counter-style-name> = <custom-ident>



<ul class="list">


@counter-style fallback-example {
  system: fixed; symbols: "\24B6" "\24B7" "\24B8";
  fallback: upper-alpha;

.list {
  list-style: fallback-example;



Specification Status Comment
CSS Counter Styles Level 3
The definition of 'fallback' in that specification.
Candidate Recommendation Initial definition

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support No ?33 No No No
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support No ? ?33 No No ?

See also

Document Tags and Contributors

 Contributors to this page: mfluehr, fscholz, duncanmcdonald, Sebastianz, crackien, kscarfone, jsx
 Last updated by: mfluehr,