Preferential growth of nickel hydroxide through the controlled release of base from acrylamide-crotonic acid hydrogels