Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumCSSbefore after pseudo-elementsSingle-choice MCQ

Why does the `::before` pseudo-element below not render the counter value, while `::after` would?

li::before { content: counter(items); } ol { counter-reset: items; } li { counter-increment: items; }