Home »
MCQs »
SASS MCQs
Which Sass function is used to get the random number between 0 and 1?
33. Which Sass function is used to get the random number between 0 and 1?
- random(0,1)
- random()
- randomize()
- random-number()
Answer: B) random()
Explanation:
The random() function is used to get the random number between 0 and 1.
Example:
random()
Result: 0.12389