The original code is totally redundant and the right code is what you proposed.
I didn't test it with CSSLint but one of the warnings messages is: "Require shorthand properties"
The original code is totally redundant and the right code is what you proposed.
I didn't test it with CSSLint but one of the warnings messages is: "Require shorthand properties"