+ 2

If I use background instead of background-color property, is there any problem?

background:red; & background-color:red; both shows me same result. If I use first property instead the second one, what type of problem will happen? And why?

19th Oct 2020, 3:46 AM
Tawhidul Islam Fahim
Tawhidul Islam Fahim - avatar
1 Respuesta
+ 4
M. H.M. Tawhidul Islam Fahim I dont think it will create any problem, But writing 'background-color' will be a good practice
19th Oct 2020, 4:49 AM
‎Ashwin Maurya
‎Ashwin Maurya - avatar