InterviewSolution
| 1. |
How Can You Create A Loop Structures In Less? |
|
Answer» A mixin can call itself in LESS. Such recursive MIXINS, when COMBINED with Pattern matching and Guard Expressions, can be used to create various iterative/loop structures. Example: .loop(@counter) when (@counter > 0) { A mixin can call itself in LESS. Such recursive mixins, when combined with Pattern matching and Guard Expressions, can be used to create various iterative/loop structures. Example: .loop(@counter) when (@counter > 0) { |
|