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?

  1. nth(list, n)
  2. element(list, n)
  3. list-element(list, n)
  4. 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

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.