Skip to content

Akrion/less.curious

This branch is 3 commits ahead of, 20 commits behind seven-phases-max/less.curious:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b035816 · Mar 27, 2015

History

38 Commits
Oct 25, 2014
Mar 27, 2015
Oct 14, 2013
Mar 27, 2015

Repository files navigation

LESS for loop with index support

Based on Max Mikhailov "for" LESS loop this version simply exposes the array index as the second argument in the for loop. This comes in handly in quite a few situations where you have a relation between array indexes etc.

Please note that the index is not optional and it is a required part of the ".-each()" section now.

Example

.for(@yourArray);
.-each(@arrayItem, @arrayIndex) {
}

About

less "for" loop with index support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 100.0%