transition allows multiple callbacks for different style types.