/* Descending numbered lists without the HTML5 "reversed" attribute.
   Usage: <ol class="reversed" style="counter-reset: item N">
   where N = number of <li> items + 1. */

ol.reversed {
  list-style: none;
}

ol.reversed > li {
  position: relative;
  counter-increment: item -1;
}

/* Put the number in the left margin, right-aligned, like a normal list marker */
ol.reversed > li::before {
  content: counter(item) ".";
  position: absolute;
  right: 100%;
  margin-right: 0.5em;
}
