[Solved] CSS Image Effects


There are several way to create this, one is to use 2 images, one by default another on hover from css, the text can stand inside the div holding the image. If it is not responsive, it will look something like this:

.image{
  position: relative;
  height: 300px;
  width: 300px;
 }
 .image:after{
      position: absolute;
      z-index: 1;
      content: ' ';
      background-image: url(http://raumrot.com/wp-content/uploads/2016/01/msp_0706_7933.jpg);
      background-size: cover;
      background-repeat: no-repeat;
      display: block;
      height: 100%;
      width: 100%;
}
.image:hover:after {
  -webkit-filter: blur(5px);
  -moz-filter: blur(5px);
  -o-filter: blur(5px);
  -ms-filter: blur(5px);
  filter: blur(5px);
}
.text {
  visibility: hidden;
  color: black;
  position: absolute;
  top: 30%;
  z-index: 3;
  width: 100%;
  text-align: center;
}
.image:hover .text {
  visibility: visible;
}
<div class="image">
  <span class="text">Some Here</span>
</div>

I hope this gives an idea, but something like this.

0

solved CSS Image Effects