Design, material, function, and fabrication of metamaterials