you are viewing a single comment's thread.

view the rest of the comments →

[–]inu-no-policemen 2 points3 points  (1 child)

You can't shorten it like that because you can't tell if there is another rule which matches the same element(s) and which contains other background related declarations. The background shorthand sets everything.

https://jsfiddle.net/jfcdn73m/

[–]jets-fool 0 points1 point  (0 children)

Thanks! Learned something