The present invention relates generally to a kind of processing keratin materials, it is preferred that the method for keratin fiber, the following steps are included: c) the application on keratose, the composition includes at least one polymer, the polymer has at least one group for photodimerization, and one group of the east at least l is hydrophobicity, d) composition is radiated on the keratin materials of cross-linked polymer.