The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › First time CSS animation using SASS. Code review wanted.
In the spirit of holiday season I have created a snowing animation and used SASS @while directive for the first time.
codepen
I have two questions:
1) How to generate a random number within a min and max parameters in SASS? For example a random number from 5 to 15.
2) How is my code? Could anything be done better?
Thank you for your time and happy holidays!