if statements and for loops in CSS - QuirksBlog
Personally, I find ppk’s comparison here to be spot on. I think that CSS can be explained in terms of programming concepts like
if statements and
for loops, if you squint at it just right.
This is something I’ve written about before.