When I run my CSS through the W3C's validator, any time I use the box-shadow
property, I get an error like this:
0 is not a box-shadow value : 0 0 10px #000
It appears to stop at whatever the first value is, since changing the order of the values will change the error to match:
#000 is not a box-shadow value : #000 0 0 10px
I'm validating with the profile set to CSS3, so it's not a case of me forgetting to change the default profile setting from CSS2 (where the box-shadow
property doesn't exist).
Why doesn't it think any of the values I'm using are correct? The shadow will render perfectly fine in Firefox and any other browser that supports the non-prefixed box-shadow
property.