JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<div></div>

CSS

div {
  width: 200px;
  height: 200px;
  background: url('http://placehold.it/200x200&text=Imagem') no-repeat center center;
  background-size: cover;
}

div::after {
  font-family: "FontAwesome";
  content: "\f067";
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: rgba(0,0,0,0.25);
  color: white;
  text-align: center;
  line-height: 200px;
  font-size: 2em;
  opacity: 0;
  transition: all 0.2s ease;
}
  div:hover::after {
    opacity: 1;
  }