A composition for the temporary deformation of keratinous fibers, comprising; (a) a cosmetic preparation containing; a1) at least one copolymer composed at least of the following monomer units: - styrene - acrylic acid and/or methacrylic acid; and a2) at least one copolymer composed at least of the following monomer units: - N-tert-butylacrylamide - acrylic acid - ethyl acrylate, wherein the weight fraction of copolymers al) and a2) in the total weight of the cosmetic preparation is 1.0 to 10% by weight. Also disclosed is the use of such a composition in the temporary deformation of keratin-containing fibers, a method of using these compositions in the temporary deformation of keratin-containing fibers and a cosmetic product comprising the said composition and a dispensing device having a spray valve.