I want to know how to add text-shadow to an ordered list </ol>
.
I've tried, the following example but it doesn't work.
body {
text-shadow: black 0.1em 0.1em 0.2em;
color: gray;
background: white;
}
ol {
text-shadow: black 0.1em 0.1em 0.2em;
}
Ordered Lists
<ol>
<li>content</li>
<li>content</li>
<li>content</li>
</ol>
My issue it tahe the list counter doesn't have the text shadow. I need to add text shadow to the number in the ordered list, like the 1. , or 2. , etc.
By the way, I want it to still retain like a list style where the content is indented before the number.