I was watching this video, it's a short demo for the Brackets IDE. I'm new to web development so I anticipate being confused by the code I see but there was something in there that I really don't get. Around the 8 minute mark the guy brings up the css line .galleryItem:nth-child(4n+1)
Saying that it will only affect the first item in each row in a grid because of the :nth-child(4n+1)
can some one please explain the syntax of this line and how it can be used.
P.S. For you Bret Victor fans out there, Brackets seems to do some of his stuff.