3 ms·
The alternative is just specifying the value on each item. These two are equivalent: <ol reversed> <li>Three <li>Two <li>One </ol> <ol>
by chrismorgan 3y ago
The alternative is just specifying the value on each item. These two are equivalent:
<ol reversed>
<li>Three
<li>Two
<li>One
</ol>
<ol>
<li value=3>Three
<li value=2>Two
<li value=1>One
</ol>
Note also that reversing content via CSS is generally unwise, because things like screen readers, text selection and tab indexing operate on DOM tree order.