RSSAmplifier

Manuel’s Blog · Dec 6, 2011

Reverse Ordered Lists with CSS

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

The other minute I’ve read an interesting article on the new HTML5 reversed attribute on ordered lists, that, who would have thought, reverses the counting. The article proposed a JavaScript polyfill. However, I thought, that this should be possible with CSS counters alone, and lo, it works: < ol style = " counter-reset : c 6 " > < li > Hello </ li > < li > World </ li > < li > Foo </ li > < li >…

Read on manuel-strehl.de

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.