One of the most challenging parts of the Mario model is the lighting and shine. To support this in CSS, I bake a 4×4 texture for every poly+frame, stretch it with background-size, and animate it with background-position. A million texel fields packed in a single spritesheet, with no math at runtime.