The present invention relates to a silicon dioxide-containing cosmetic composition for hair setting or for the temporary reshaping of keratinic fibers, in particular human hair, which depending on the use enables both a matte and a shiny look and which after application to the hair enables shaping and restructuring of the hairstyle for a long period of time and furthermore forms no visible residues.