Indeed it is a pre processor. I mean, same concept..but with the fundamentals differences within a markup and an already declarative programming languaje like CSS..
I guess we need to acurate our Css definition like a little relative of the programming languages family tree..but define it with great detail.
The question is simple - what language are you writing the loop in? Sass or scss. Not css. The title sounds like there was a new feature in css that allows loops.
Take a look at final generated css. It doesn't have loop. Please correct the title and stop spreading wrong information. People take away the things and share it further. Be a responsible developer not for yourself but for the whole community and for beginners who will learn from you.
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.
The only reason I viewed this article was because it claimed to do a loop in CSS. Had it said loop in SCSS I wouldn't have bothered to view it because I already know that it can be done.
Clickbait is clickbait.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Come on, SASS is a CSS preprocessor that compiles into CSS, it's not like I'm talking about PHP. π
Indeed it is a pre processor. I mean, same concept..but with the fundamentals differences within a markup and an already declarative programming languaje like CSS..
I guess we need to acurate our Css definition like a little relative of the programming languages family tree..but define it with great detail.
The question is simple - what language are you writing the loop in? Sass or scss. Not css. The title sounds like there was a new feature in css that allows loops.
Take a look at final generated css. It doesn't have loop. Please correct the title and stop spreading wrong information. People take away the things and share it further. Be a responsible developer not for yourself but for the whole community and for beginners who will learn from you.
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.
Nobody is searching looping in SASS, though. I found this article by searching CSS loops, so...
The only reason I viewed this article was because it claimed to do a loop in CSS. Had it said loop in SCSS I wouldn't have bothered to view it because I already know that it can be done.
Clickbait is clickbait.