Learning Linear Gradient CSS