Home »
MCQs »
SASS MCQs
Which Sass function is used to get the Nth elements from the list?
42. Which Sass function is used to get the Nth elements from the list?
- nth(list, n)
- element(list, n)
- list-element(list, n)
- get(list, n)
Answer: A) nth(list, n)
Explanation:
The nth(list, n) function is used to get the Nth elements from the list.
Example:
nth(x y z, 2)
Result: y