Replaced sprite() with css equivalent