.columns { counter-reset: mycounter } .columns ol { list-style: none; } .columns ol li:before { counter-increment: mycounter; content: counter(mycounter) ". "; }