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