The present invention relates to a photocrosslinkable cosmetic composition comprising in a physiologically acceptable medium: at least one photocrosslinkable compound comprising at least two (meth)acrylate functions and at least one carboxylic acid function; at least one film-forming polymer in a proportion greater than or equal to 30% by weight in relation to the dry extract weight of the composition; at least one volatile solvent in a proportion greater than or equal to 30% in relation to the total weight of the composition; and at least one photoinitiator.