The compounds of the forumula (I) are prepared by reacting polyols, such as ethylene glycol, propylene glycol, trimethylolpropane, 1,6-hexanediol, glycerin, pentaerythritol, polyethylene glycol and polypropylene glycol, with acrylic acid or methacrylic acid. ##STR3## wherein l is 2 or 3.