0

Is there any particular reason why we separate some statements with commas, but not others? for example, when transforming elements?

30th Jun 2016, 2:09 PM
Mike Tucker
Mike Tucker - avatar
3 Antworten
+ 2
It appears that the commas are when you have multiple instances of the same effect (like 2 shadows on top of each other { box-shadow: shadow1, shadow2} ) but with these transform properties are done as complex descriptions of a single transform ( x component and y component) which doesn't use a comma.
11th Jul 2016, 3:57 AM
Matt Beck
Matt Beck - avatar
+ 1
Ah, thank you! I was starting to think that, but never checked lol
11th Jul 2016, 4:41 AM
Mike Tucker
Mike Tucker - avatar
0
The answer that @Matt Beck Gave probably makes the most sense as to why.
19th Dec 2016, 11:31 AM
Ridhaa Suleman
Ridhaa Suleman - avatar