CSS Image Hover

/* add ":hover" after the class */
.this-is-your-class img:hover {
  opacity: 0.5;
}
Muhammad Nur Iqbal