Counters in CSS are generated as decimal numbers by default.
However, we can customize the appearance of
counters using different list style types.
Commonly used list style types include
decimal
, lower-alpha
, upper-alpha
,
lower-roman
, and upper-roman
.
In the above example,
three different counters are used
to generate the numbering for
courses
, chapters
, and lessons
.
We utilized the upper-roman
style to present the lesson-counter
values.