Ordered lists can be difficult to style. Changing the font, size, color, background etc. of numbers is tricky. The key is using CSS generated content to create and insert the counter numbers after removing the default numbering from the list…