The invention relates to a cosmetic composition, in particular a composition for making up and/or caring for keratin materials, preferably a nail makeup, comprising the compound of chemical formula (I) below:(Formula I) (I) n represents an integer between 1 and 8; R1 and R2 independently represent an ethoxy group or a group (C1-C20)alkyl, optionally substituted with an amino group; X represents a hydrogen atom, a group (C1-C10)alkyl optionally substituted with one or more hydroxyl groups that may optionally be linked to another atom of the group Y to form an alkylene chain, a group (C1-C10)cycloalkyl, an aryl group or a group of formula (II) below:(Formula II) (II) in which R3 and R4 independently represent an ethoxy group or a group (C1-C20)alkyl optionally substituted with an amino group. The invention also relates to a cosmetic process, in particular a makeup or hair shaping process, preferably a process for making up keratin materials, in particular the nails and/or the hair, characterized in that it comprises at least one step which consists in applying a cosmetic composition as above defined to keratin materials.