Difference between revisions of "Template:RHIT"

Line 134: Line 134:
 
   -ms-transform: translate(-50%, -50%);
 
   -ms-transform: translate(-50%, -50%);
 
   text-align: center;
 
   text-align: center;
 +
}
 +
 +
.cartoon {
 +
position: absolute;
 +
  top: 0;
 +
  bottom: 0;
 +
  left: 0;
 +
  right: 0;
 +
  height: 100%;
 +
  width: 100%;
 +
  opacity: 0;
 +
  transition: .5s ease;
 +
}
 +
 +
.container:hover .cartoon {
 +
opacity:0;
 
}
 
}
  

Revision as of 15:18, 15 June 2018