How can we apply styling to a span class within a list item using CSS?
I have attempted the following code, but it does not seem to be working:
wrap.error {
color: #FF0000;
display: block;
}
<ol>
<li>
<span class='error'>Some error</span>
</li>
</ol>