This example has snow moving in a relatively-positioned <div> element, using snowStorm.targetElement. Applying CSS overflow: hidden to the target element is required for best effect.
snowStorm.targetElement
overflow: hidden
View the source of this page for reference.