DEV Community

Discussion on: How to Use a Loop in CSS!

Collapse
 
igwe_kalu_3d942133688cb58 profile image
Igwe Kalu

Your tutorial is useful for anyone learning SASS. But the title is seriously misleading.

No, you can’t write a loop in CSS. And frankly, the idea seems pointless. It’s a challenge to find applicability for a case where such logic is best implemented as a STYLE, rather than in application logic.

Otherwise, this was a nice tutorial really that can support knowledge of SASS.

Thread Thread
 
mshaynerush profile image
Shayne Rushton

Nobody is searching looping in SASS, though. I found this article by searching CSS loops, so...