A versatile approach towards multi-functional surfaces via covalently attaching hydrogel thin layers.