0

What is the difference between .name{} and #name{} in css????????? Plz hlp

7th Oct 2017, 3:26 AM
Ñävi Jäswäl
Ñävi Jäswäl - avatar
2 ответов
+ 2
One is a class selector and one is an id selector, respectively.
7th Oct 2017, 3:37 AM
CHMD
CHMD - avatar
+ 1
.name{} is a class selector #name{} is an id selector id targets single element class targets multiple elements
7th Oct 2017, 11:36 AM
Rishita
Rishita - avatar