Consistent with nadavage: I also played around and found out: Commas in CSS are designed if the font or value is not supported. Therefore, if I write:
font-family: 'Lorem Ipsum', cursive;
If “Lorem Ipsum” is not a registered font name in the OS or imported, it will display the “cursive” font supported on most browsers. In your case, to do everything at once, you put space, but some properties that take several parameters, for example
text-shadow: 2px 2px rgba(0, 0, 0, 0.4);
only one value will be expected for each parameter. Most browsers can decrypt which values for which parameter and what to use.
Hope this helps!
HarryJamesPotter27
source share