+ 3
See this code
<!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <div class="container"> <div class="ball"></div> <div class="ball"></div> <div class="ball"></div> <div class="ball"></div> <div class="ball"></div> <div class="ball"></div> <div class="ball"></div> </div> </body> </html>
1 Answer
+ 7
7 containers of the same class "ball". Here's what you could do:
You could style all of them by div {} affecting all containers.
or style them individually with div:nth-child(n){}