Using CSS gradients and multiple backgrounds to improve resilience and perceived performance