You can use this pure CSS snippet to add a fancy christmas tree animation to you webpage, it was designed by Ana Travas.
If you are having trouble with the pen, try the archived copy on GitHub
CSS Christmas Tree Snippet
See the Pen Animated 3D Christmas Tree by Ana Travas (@anatravas) on CodePen.0