Ver Mensaje Individual
  #2 (permalink)  
Antiguo 06/09/2015, 12:14
Avatar de AngelKrak
AngelKrak
 
Fecha de Ingreso: noviembre-2014
Mensajes: 917
Antigüedad: 9 años, 5 meses
Puntos: 91
Respuesta: Como conseguir hacer este efecto de hover

eso es facil amigo ahi te dejo el codigo ;)

Código HTML:
Ver original
  1. <div id="box">
  2.  
  3.   <div id="overlay">
  4.     <span id="plus">Texto</span>
  5.   </div>
  6.  
  7. </div>

Código CSS:
Ver original
  1. body {
  2.   background: #e7e7e7;
  3. }
  4.  
  5. #box {
  6.   width: 300px;
  7.   height: 200px;
  8.   box-shadow: inset 1px 1px 40px 0 rgba(0, 0, 0, .45);
  9.   border-bottom: 2px solid #fff;
  10.   border-right: 2px solid #fff;
  11.   margin: 5% auto 0 auto;
  12.   background: url(http://ianfarb.com/wp-content/uploads/2013/10/nicholas-hodag.jpg);
  13.   background-size: cover;
  14.   border-radius: 5px;
  15.   overflow: hidden;
  16. }
  17.  
  18. #overlay {
  19.   background: rgba(103, 100, 100, 0.7);
  20.   height: 100vh;
  21.   text-align: center;
  22.   padding: 80px 0 66px 0;
  23.   opacity: 0;
  24.   -webkit-transition: opacity .25s ease;
  25.   -moz-transition: opacity .25s ease;
  26. }
  27.  
  28. #box:hover #overlay {
  29.   opacity: 1;
  30. }
  31.  
  32. #plus {
  33.   color: rgba(255, 255, 255, .85);
  34.   font-size: 20px;
  35. }

Demo:
http://codepen.io/AngelKrak/pen/qOdWbV