let-it-snow
@include let-it-snow(
$color,
$density,
$size,
$speed,
$direction,
$visibility
);
Description
Applies an animated snowfall across the entire screen.
Parameters
$color
(color)
Colour of snow
Default: white
$density
(number)
Thickness of snowfall
Default: 50
$size
(unit)
Size of snow tile
Default: 600px
$speed
(timing)
Speed of snowfall
Default: 3s
$direction
(up | down)
Direction of snowfall
Default: down
$visibility
(0 - 1)
The opacity of snowfall
Default: 0.5
Return
(CSS) Styles to add snowfall to campaign.
Examples
Add snowfall to campaign
@include let-it-snow();
Updated about 3 years ago