Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
December 2, 2016 12:50 pm GMT

Loops in CSS Preprocessors

If you've ever watched old sci-fi flicks, you know how powerful loops can be. Feed your robot nemesis an infinite loop, and kaboom. Robo dust.

Preprocessor loops will not cause dramatic explosions in space (I hope), but they are useful for writing DRY CSS. While everyone is talking about pattern libraries and modular design, most of the focus has been on CSS selectors. No matter what acronym drives your selectors (BEM, OOCSS, SMACSS, ETC), loops can help keep your …


Loops in CSS Preprocessors is a post from CSS-Tricks


Original Link: https://css-tricks.com/loops-css-preprocessors/

Share this article:    Share on Facebook
View Full Article

CSS Tricks

A Web Design Community curated by Chris Coyier

More About this Source Visit CSS Tricks