All quizzes
Free quiz · 18 questions in the bank

Less quiz

Test your Less knowledge with a free interactive quiz — 18 questions with answers and explanations. No signup needed to play.

Question 1/5Score 0

How do you pass arguments to a Less mixin?

Questions in this quiz
  1. How do you pass arguments to a Less mixin?
  2. How does nesting work in Less?
  3. What is the difference between Less's "lazy loading" of variables and Sass's variable resolution order?
  4. What is a Less "mixin"?
  5. How do you loop/generate repeated styles in Less, given it has no native `@for` loop?
  6. What is a Less "namespace" (a mixin defined inside another selector, accessed via `#namespace > .mixin()`)?
  7. What is Less?
  8. What is string interpolation in Less?
  9. What does the `!important` keyword do when appended to an entire Less mixin call, e.g. `.mixin() !important;`?
  10. How do you perform arithmetic in Less?
  11. How do you compile a `.less` file to `.css`?
  12. What was a significant historical reason Bootstrap (versions 3 and earlier) chose Less, before later switching to Sass in Bootstrap 4?
Gaps to close?
Read the curated Less notes — core concepts, patterns, interview prep.
Less notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web