Can anyone tell me if the following CSS is valid?
.class { background-color:none; }
No, use transparent instead none . See working example here in this example if you will change transparent to none it will not work
transparent
none
use like .class { background-color:transparent; }
.class { background-color:transparent; }