+ 1

It works ?

*{ background:red; } and *{ background-color:red; } are the same command ? Both work to me. Is it a problem ?

25th Dec 2016, 2:53 PM
Chocolatte
Chocolatte - avatar
3 Answers
+ 3
This is intended. The background property is a shortcut for background-color and several others.
25th Dec 2016, 2:57 PM
James Durand
James Durand - avatar
+ 1
thanks :)
25th Dec 2016, 3:05 PM
Chocolatte
Chocolatte - avatar
0
background: red is for html used in pass Backgroud-color:red; is new both will work but need to use the last one.
7th Jan 2017, 1:04 AM
derisca frantz junior
derisca frantz junior - avatar