0
What is the difference between .name{} and #name{} in css????????? Plz hlp
2 Réponses
+ 2
One is a class selector and one is an id selector, respectively.
+ 1
.name{} is a class selector
#name{} is an id selector
id targets single element
class targets multiple elements