An electrolyte comprising i) a block copolymer comprising a first block of polystyrene and a second block that comprises polyethylene oxide and a reaction product of one selected from polyethylene glycol diacrylate and polyethylene glycol dimethacrylate; ii) a block copolymer comprising a first block of polystyrene, a second block that comprises polyethylene oxide and a reaction product of one selected from polyethylene glycol diacrylate and polyethylene glycol dimethacrylate, and a third block of polystyrene; iii) a block copolymer comprising a first block of polystyrene, and a second block that comprises polyethylene oxide and a reaction product of one selected from trimethylolpropane triacrylate and trimethylolpropane trimethacrylate; iv) a block copolymer comprising a first block of polystyrene, and a second block that comprises polyethylene oxide and a reaction product of one selected from trimethylolpropane triacrylate and trimethylolpropane trimethacrylate, and a third block of polystyrene; v) a block copolymer comprising a first block of polystyrene, and a second block that comprises polyethylene oxide and a reaction product of one selected from polyethylene glycol diacrylate and polyethylene glycol dimethacrylate, and polyhedral oligomeric silsesquioxane with an acrylate group; vi) a block copolymer comprising a first block of polystyrene, a second block that comprises polyethylene oxide and a reaction product of one selected from polyethylene glycol diacrylate and polyethylene glycol dimethacrylate, and polyhedral oligomeric silsesquioxane with an acrylate group, and a third block of polystyrene; vii) a block copolymer comprising a first block of polystyrene, and a second block that comprises polyethylene oxide and a reaction product of one selected from trimethylolpropane triacrylate and trimethylolpropane trimethacrylate, and polyhedral oligomeric silsesquioxane with an acrylate group; or viii) a block copolymer comprising a first block of polystyrene, a second block that comprises polyethylene oxide and a reaction product of one selected from trimethylolpropane triacrylate and trimethylolpropane trimethacrylate, and polyhedral oligomeric silsesquioxane with an acrylate group, and a third block of polystyrene. i) a block copolymer comprising a first block of polystyrene and a second block that comprises polyethylene oxide and a reaction product of one selected from polyethylene glycol diacrylate and polyethylene glycol dimethacrylate; ii) a block copolymer comprising a first block of polystyrene, a second block that comprises polyethylene oxide and a reaction product of one selected from polyethylene glycol diacrylate and polyethylene glycol dimethacrylate, and a third block of polystyrene; iii) a block copolymer comprising a first block of polystyrene, and a second block that comprises polyethylene oxide and a reaction product of one selected from trimethylolpropane triacrylate and trimethylolpropane trimethacrylate; iv) a block copolymer comprising a first block of polystyrene, and a second block that comprises polyethylene oxide and a reaction product of one selected from trimethylolpropane triacrylate and trimethylolpropane trimethacrylate, and a third block of polystyrene; v) a block copolymer comprising a first block of polystyrene, and a second block that comprises polyethylene oxide and a reaction product of one selected from polyethylene glycol diacrylate and polyethylene glycol dimethacrylate, and polyhedral oligomeric silsesquioxane with an acrylate group; vi) a block copolymer comprising a first block of polystyrene, a second block that comprises polyethylene oxide and a reaction product of one selected from polyethylene glycol diacrylate and polyethylene glycol dimethacrylate, and polyhedral oligomeric silsesquioxane with an acrylate group, and a third block of polystyrene; vii) a block copolymer comprising a first block of polystyrene, and a second block that comprises polyethylene oxide and a reaction product of one selected from trimethylolpropane triacrylate and trimethylolpropane trimethacrylate, and polyhedral oligomeric silsesquioxane with an acrylate group; or viii) a block copolymer comprising a first block of polystyrene, a second block that comprises polyethylene oxide and a reaction product of one selected from trimethylolpropane triacrylate and trimethylolpropane trimethacrylate, and polyhedral oligomeric silsesquioxane with an acrylate group, and a third block of polystyrene.