When adding prefixes, you should consider parsing the value assigned to the property.
For instance, parsing
transition: opacity .2s, transform .2s; results in
-webkit-transition: opacity .2s, transform .2s; instead of
-webkit-transition: opacity .2s, -webkit-transform .2s; no matter what the order of the values look like.
When adding prefixes, you should consider parsing the value assigned to the property.
For instance, parsing
transition: opacity .2s, transform .2s;
results in-webkit-transition: opacity .2s, transform .2s;
instead of-webkit-transition: opacity .2s, -webkit-transform .2s;
no matter what the order of the values look like.[EDIT] Sorry, didn't see it was a duplicate.