I'm having problems with my CSS. It should set the colour of a div with a class (for a countdown), but the colour of the text isn't changing. I've tried numerous fixes, but can't get it working. Here is the relevant CSS:
.10seconds, .9seconds, .8seconds, .7seconds, .6seconds { color: #00b200 ;}
.5seconds { color: #ADFF2F ;}
.4seconds { color: #E5E500 ;}
.3seconds { color: #FFA500 ;}
.2seconds { color: #FF5719 ;}
.1seconds { color: #FF0000;}
And the relevant HTML:
<div id='timer' class='10seconds'>10</div>
#timer
has no set rules in my CSS file. Full CSS here.
Thanks in advance.