I thought this would be an easy thing, but I haven’t found a good solution (maybe I’m also using the wrong search terms).
I would like to style an ordered list so the items appear so:
1
Item one
2
Item two
3
Item three
Is there any way to do this simply with CSS?
Many thanks in advance!
You can use the content property with the :before pseudo-element and the
\anewline escape:That should work fine on browsers that support CSS 2.1.