enumeration-style

The style that should be used for generating an enumerator. Will be used to fill the placeholder “%p” in enumerator-format.

Availability

Available in: List

Type

Symbol

Available values

Value Description
decimal Use decimal numbers to fill the placeholder. Used as default.
lowercase-alpha Use lowercase alphabetic characters to fill the placeholder. (a … z, aa … zz, …)
uppercase-alpha Use uppercase alphabetic characters to fill the placeholder. (A … Z, AA … ZZ, …)
lowercase-roman Use lowercase roman numerals to fill the placeholder. (i, ii, iii, iv, v, …)
uppercase-roman Use uppercase roman numerals to fill the placeholder. (I, II, III, IV, V, …)

Default value

decimal

Inherited

No.

Example

// Enumerates an ordered list with 'a)', 'b)'
list-ordered {
  enumeration-style:  lowercase-alpha
  enumeration-format: "%p)"
}