The invention relates to an improvement in the foam quality and ejectability in ejecting a mixed lotion composed of the first and second lotions constituting a two-pack type hair-dyeing or -bleaching preparation in the form of foam by the use of a squeeze container. The two-pack type hair-dyeing or -bleaching preparation (1) of the invention comprises the first lotion (A1) containing an alkali agent, the second lotion (A2) containing hydrogen peroxide, and a squeeze container (6) for ejecting a mixed lotion (A3) composed of the first and second lotions (A1, A2) in the form of foam. The first lotion (A1) or the second lotion (A2) contains a foaming agent and the mixed lotion (A3) exhibits a viscosity (at 25° C) of 1 to 100mPa s. The squeeze foamer (5) of the squeeze container (6) comprises a gas-liquid mixing chamber (12), a foam homogenizing means (14) for homogenizing the foam of the mixed lotion formed in the chamber (12), and an ejection opening (17) for ejecting the homogenized foam and the ratio of the total volume of the first and second lotions to the capacity of the container body is 0.30 to 0.60. In the body-part cross section of the container body, the ratio of the mixer axis to the major axis is adjusted to 0.50 to 1.0 with the area adjusted to 12 to 30cm2.Se mejora la calidad de la espuma y las propiedades de descarga mediante el uso de un recipiente para comprimir para descargar una solución mezclada de primero y segundo agentes de un cosmético en dos partes para el cabello para el teñido o decoloración del cabello en una espuma; un cosmético en dos partes para el cabello 1 para el teñido o decoloración del cabello incluye un primer agente A1 que contiene un agente alcalino y un segundo agente A2 que contiene peróxido de hidrógeno y un recipiente para comprimir 6 para descargar una solución mezclada A3 del primer agente A1 y el segundo agente A2; el primer agente A1 o el segundo agente A2 contiene un agente espumante; la solución mezclada A3 de la misma