0

I thought that there are no difference between .foo.bar and .foo .bar //the second has space between

user18984
  • 57
  • 1
  • 9

1 Answers1

0

.foo.bar refers to an element that has both classes foo and bar

while

.foo .bar implies that bar is nested in the class of foo

source: W3

antzshrek
  • 9,276
  • 5
  • 26
  • 43