<div class="container">
  <div class="card">
    <div class="card__object">
      <img src="http://lorempixel.com/150/150/people/" class="hoverZoomLink" alt="" />
    </div>
    <div class="card__body">
      <h4 class="card__title">John Doe</h4>
      <p>Better Visuals</p>
    </div>
  </div>
</div>
@import url("https://fonts.googleapis.com/css?family=Gochi+Hand");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  width: 100vw;
  min-height: 100vh;
  margin: 0;
  background-color: #291642;
  font-family: "Gochi Hand", sans-serif;
  font-size: 100%;
  letter-spacing: 0.1rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;

  background: linear-gradient(to right, #44ea76 0%, #39fad7 80%, #39fad7 100%)
      no-repeat,
    url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/142996/slider-2.jpg")
      no-repeat fixed;
  background-size: cover;
  background-blend-mode: hue;
}

.container {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.actions {
  padding: 3vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
}

button {
  display: inline-flex;
  align-items: center;
  font-size: 1.2rem;
  height: 3rem;
  padding: 0.2rem 3.2rem;
  color: rgba(255, 255, 255, 0.8);
  background: #ff3366;
  border-radius: 10rem;
  border: none;
  cursor: pointer;
  margin: 0 2vh;
  transition: all 1s ease-in;
  transform-origin: center;
}

button:hover {
  box-shadow: inset 0 0 3px 5px currentColor;
  transform: rotate(2deg) skew(1deg, -1deg);
}

.card {
  background: #fff;
  width: 30vw;
  border-radius: 5px;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16), 0px 3px 6px rgba(0, 0, 0, 0.23);

  display: flex;
  flex-direction: column;
  align-items: center;
  color: #444;
  padding: 2vmin;
}

.card__object {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  transition: box-shadow 0.3s ease;
  box-shadow: 0px 0px 0px 8px rgba(0, 0, 0, 0.06);
  margin: 2vh 0;
}

.card__object img {
  max-width: 100%;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.card__body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.4rem;
}

.card__title {
  font-size: 2rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.card__body p {
  color: #666;
}
View Compiled
const bounceInDown = gsap.timeline({
  defaults: {
    duration: 1
  }
});

bounceInDown
  .to(".card", {
    opacity: 0,
    y: -3000,
    scaleY: 3
  })
  .to(".card", {
    opacity: 1,
    y: 25,
    scaleY: 0.9,
    ease: "cubic-bezier(0.215, 0.61, 0.355, 1)"
  })
  .to(".card", {
    y: -10,
    scaleY: 0.95,
    ease: "cubic-bezier(0.215, 0.61, 0.355, 1)"
  })
  .to(".card", {
    y: 5,
    scaleY: 0.985,
    ease: "cubic-bezier(0.215, 0.61, 0.355, 1)"
  })
  .to(".card", {
    y: 0
  });

GSDevTools.create();
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/gsap/3.4.1/gsap.min.js
  2. https://s3-us-west-2.amazonaws.com/s.cdpn.io/16327/GSDevTools3.min.js