CSS Image Passe o mouse

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