Like this (CSS) if you want to target the specific element with class .email
:
.icons .email:hover {
// Your code here
opacity: .5;
}
If you want a more generic solution, give all elements the samen class (.icon
in this example) and do:
.icons:hover {
// Your code here
opacity: .5;
}
You might want to read about CSS cascading and inheritence.