LOADING...

Preview

Pen ID
Unlock Campus Themeforest adv

 

Code
sample7

Bailey Wonger

sample55

Spruce Springclean

sample22

Ursula Gurnmeister

CSS
@import url(https://fonts.googleapis.com/css?family=Titillium+Web);
.snip1355 {
  font-family: 'Titillium Web', Arial, sans-serif;
  position: relative;
  float: left;
  overflow: hidden;
  margin: 10px 1%;
  min-width: 230px;
  max-width: 315px;
  max-height: 220px;
  width: 100%;
  color: #ffffff;
  text-align: right;
  background-color: #000000;
}
.snip1355 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.snip1355 img {
  opacity: 1;
  width: 100%;
  -webkit-transform: scale(1.1) translateY(3%);
  transform: scale(1.1) translateY(3%);
}
.snip1355:after,
.snip1355:before {
  -webkit-transition: all 0.5s 0s cubic-bezier(0.6, -0.28, 0.735, 0.045);
  transition: all 0.5s 0s cubic-bezier(0.6, -0.28, 0.735, 0.045);
  z-index: 1;
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}
.snip1355:after {
  top: 25%;
  left: 50%;
  -webkit-transform: translate(-40%, 100%);
  transform: translate(-40%, 100%);
  border-width: 150px 200px;
  border-color: transparent #1abc9c #1abc9c #15987e;
}
.snip1355:before {
  bottom: 0%;
  left: 50%;
  -webkit-transform: translate(-45%, 100%);
  transform: translate(-45%, 100%);
  border-width: 0 180px 140px 180px;
  border-color: transparent transparent #117964 transparent;
}
.snip1355 figcaption {
  position: absolute;
  top: 0;
  right: 0;
}
.snip1355 h2 {
  margin: 0;
  opacity: 0;
  padding: 10px 20px;
  font-weight: 400;
  text-transform: uppercase;
  -webkit-transform: translateY(20%);
  transform: translateY(20%);
}
.snip1355 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 2;
}
.snip1355:hover img,
.snip1355.hover img {
  -webkit-transform: scale(1.1) translateY(-3%);
  transform: scale(1.1) translateY(-3%);
  opacity: 0.4;
}
.snip1355:hover:before,
.snip1355.hover:before,
.snip1355:hover:after,
.snip1355.hover:after {
  -webkit-transition: all 0.4s 0s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: all 0.4s 0s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.snip1355:hover:before,
.snip1355.hover:before {
  -webkit-transform: translate(-45%, 0);
  transform: translate(-45%, 0);
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}
.snip1355:hover:after,
.snip1355.hover:after {
  -webkit-transform: translate(-40%, 0);
  transform: translate(-40%, 0);
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}
.snip1355:hover figcaption h2,
.snip1355.hover figcaption h2 {
  opacity: 1;
  -webkit-transform: translate(0px);
  transform: translate(0px);
  -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
}
/* Demo purposes only */
body {
  background-color: #212121;
}
JS
/* Demo purposes only */
$(".hover").mouseleave(
  function () {
    $(this).removeClass("hover");
  }
);

Description

Image with title and parallax landscape on hover
Term
Wed, 12/06/2017 - 19:43

Related Codes

Pen ID
Pen ID
Pen ID
Square Adv