How to define a style for the list numbering in HTML5, which is compatible with <ol reversed>?
I found ::-moz-list-number but it works just in Firefox. Does anybody know a better alternative to do the same?
How to define a style for the list numbering in HTML5, which is compatible with <ol reversed>?
I found ::-moz-list-number but it works just in Firefox. Does anybody know a better alternative to do the same?
I totally missed the very obvious reverse part. It looks like you might need to do <li><span>Item</span></li> and unstyle in the <span> what you styled to the <li>.
Old Answer (might be useful for some).
You can style ::before and add content: counter(someCounter).
ol {
  list-style: none;
  counter-reset: item;
}
ol li::before {
  counter-increment: item;
  content: counter(item) ". ";
  color: red;
  font-weight: bold;
}
Here's a quick demo: https://jsfiddle.net/crswll/toggchgd/1/