Copied to Clipboard!

Card Hover Effects - Reveal Crad Details on Hover

 
.card {
  position: relative;
  width: 300px;
  left: 0;
  right: 0;
  margin: 0 auto;
  cursor: pointer;
  z-index: 2;
  transition: all .25s;
}
.card:hover {
  transform: scale(1.03);
}
.card .card-image {
  position: relative;
  width: 100%;
}
/* Card Header */
.card-header {
  display: flex;
  position: absolute;
  height: 70px;
  top: 0;
  width: 100%;
  background-color: #fff;
  align-items: center;
  visibility: hidden;
  transition: all .25s;
}
.card-header__avatar {
  width: 50px;
  float: left;
}
.card-header__lbl {
  font-family: "Poppins";
  color: #3c3c3c;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 50px;
  display: inline-block;
  top: 0;
}
.card:hover .card-header {
  top: -70px;
  box-shadow: 0px -15px 12px -7px rgba(0, 0, 0, .1);
  visibility: visible;
}
/* Card Footer */
.card-footer {
  display: flex;
  position: absolute;
  height: 80px;
  bottom: 5px;
  width: 100%;
  background: #fff;
  align-items: center;
  transition: all .25s;
  visibility: hidden;
}
.card-footer__info {
  padding: 15px;
}
.card-footer__title {
  font-family: "Poppins";
  color: #3c3c3c;
  font-weight: 700;
  margin: 0;
  padding: 0;
}
.card-footer__info small {
  font-family: "Poppins";
  margin: 0;
  padding: 0;
  color: #9c9c9c;
}
.card:hover .card-footer {
  bottom: -75px;
  box-shadow: 0px 15px 12px -7px rgba(0, 0, 0, .1);
  visibility: visible;
}
 
.card {
  position: relative;
  width: 300px;
  left: 0;
  right: 0;
  margin: 0 auto;
  cursor: pointer;
  z-index: 2;
  transition: all .25s;
}
.card:hover {
  transform: scale(1.03);
}
.card .card-image {
  position: relative;
  width: 100%;
}
/* Card Header */
.card-header {
  display: flex;
  position: absolute;
  height: 70px;
  top: 0;
  width: 100%;
  background-color: #fff;
  align-items: center;
  visibility: hidden;
  transition: all .25s;
}
.card-header__avatar {
  width: 50px;
  float: left;
}
.card-header__lbl {
  font-family: "Poppins";
  color: #3c3c3c;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 50px;
  display: inline-block;
  top: 0;
}
.card:hover .card-header {
  top: -70px;
  box-shadow: 0px -15px 12px -7px rgba(0, 0, 0, .1);
  visibility: visible;
}
/* Card Footer */
.card-footer {
  display: flex;
  position: absolute;
  height: 80px;
  bottom: 5px;
  width: 100%;
  background: #fff;
  align-items: center;
  transition: all .25s;
  visibility: hidden;
}
.card-footer__info {
  padding: 15px;
}
.card-footer__title {
  font-family: "Poppins";
  color: #3c3c3c;
  font-weight: 700;
  margin: 0;
  padding: 0;
}
.card-footer__info small {
  font-family: "Poppins";
  margin: 0;
  padding: 0;
  color: #9c9c9c;
}
.card:hover .card-footer {
  bottom: -75px;
  box-shadow: 0px 15px 12px -7px rgba(0, 0, 0, .1);
  visibility: visible;
}

/* Effect 2 */
.card.effect2 .card-header {
  top: -70px;
  visibility: visible;
}
.card.effect2 .card-footer {
  bottom: -70px;
  visibility: visible;
}
.card.effect2 .card-header::after, .card.effect2 .card-footer::after {
  position: absolute;
  content: "";
  width: 100%;
  height: calc(100% + 20px);
  background-color: #fff;
  transition: all .4s;
  z-index: 0;
}
.card.effect2 .card-header::after {
  top: -20px;
  right: 0;
}
.card.effect2 .card-footer::after {
  bottom: -20px;
  left: 0;
}
.card.effect2:hover .card-header::after {
  width: 0;
}
.card.effect2:hover .card-footer::after {
  width: 0;
}
 
.card {
  position: relative;
  width: 300px;
  left: 0;
  right: 0;
  margin: 0 auto;
  cursor: pointer;
  z-index: 2;
  transition: all .25s;
}
.card:hover {
  transform: scale(1.03);
}
.card .card-image {
  position: relative;
  width: 100%;
}
/* Card Header */
.card-header {
  display: flex;
  position: absolute;
  height: 70px;
  top: 0;
  width: 100%;
  background-color: #fff;
  align-items: center;
  visibility: hidden;
  transition: all .25s;
}
.card-header__avatar {
  width: 50px;
  float: left;
}
.card-header__lbl {
  font-family: "Poppins";
  color: #3c3c3c;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 50px;
  display: inline-block;
  top: 0;
}
.card:hover .card-header {
  top: -70px;
  box-shadow: 0px -15px 12px -7px rgba(0, 0, 0, .1);
  visibility: visible;
}
/* Card Footer */
.card-footer {
  display: flex;
  position: absolute;
  height: 80px;
  bottom: 5px;
  width: 100%;
  background: #fff;
  align-items: center;
  transition: all .25s;
  visibility: hidden;
}
.card-footer__info {
  padding: 15px;
}
.card-footer__title {
  font-family: "Poppins";
  color: #3c3c3c;
  font-weight: 700;
  margin: 0;
  padding: 0;
}
.card-footer__info small {
  font-family: "Poppins";
  margin: 0;
  padding: 0;
  color: #9c9c9c;
}
.card:hover .card-footer {
  bottom: -75px;
  box-shadow: 0px 15px 12px -7px rgba(0, 0, 0, .1);
  visibility: visible;
}
/* Effect 3 */
.card.effect3 .card-header, .card.effect3 .card-footer {
  left: 15px;
  right: 15px;
  height: 60px;
  width: calc(100% - 30px);
}
.card.effect3:hover .card-header {
  top: -60px;
}
.card.effect3:hover .card-footer {
  bottom: -55px;
}

 
.card {
  position: relative;
  width: 300px;
  left: 0;
  right: 0;
  margin: 0 auto;
  cursor: pointer;
  z-index: 2;
  transition: all .25s;
}
.card:hover {
  transform: scale(1.03);
}
.card .card-image {
  position: relative;
  width: 100%;
}
/* Card Header */
.card-header {
  display: flex;
  position: absolute;
  height: 70px;
  top: 0;
  width: 100%;
  background-color: #fff;
  align-items: center;
  visibility: hidden;
  transition: all .25s;
}
.card-header__avatar {
  width: 50px;
  float: left;
}
.card-header__lbl {
  font-family: "Poppins";
  color: #3c3c3c;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 50px;
  display: inline-block;
  top: 0;
}
.card:hover .card-header {
  top: -70px;
  box-shadow: 0px -15px 12px -7px rgba(0, 0, 0, .1);
  visibility: visible;
}
/* Card Footer */
.card-footer {
  display: flex;
  position: absolute;
  height: 80px;
  bottom: 5px;
  width: 100%;
  background: #fff;
  align-items: center;
  transition: all .25s;
  visibility: hidden;
}
.card-footer__info {
  padding: 15px;
}
.card-footer__title {
  font-family: "Poppins";
  color: #3c3c3c;
  font-weight: 700;
  margin: 0;
  padding: 0;
}
.card-footer__info small {
  font-family: "Poppins";
  margin: 0;
  padding: 0;
  color: #9c9c9c;
}
.card:hover .card-footer {
  bottom: -75px;
  box-shadow: 0px 15px 12px -7px rgba(0, 0, 0, .1);
  visibility: visible;
}
/* Effect 4 */
.card.effect4 .card-header {
  top: -70px;
  transform: perspective(400px) rotateX(90deg);
  transform-origin: bottom;
  transition: all .4s;
}
.card.effect4 .card-footer {
  bottom: -70px;
  transform: perspective(400px) rotateX(-90deg);
  transform-origin: top;
  transition: all .4s;
}
.card.effect4:hover .card-header, .card.effect4:hover .card-footer {
  transform: perspective(0) rotateX(0);
}
 
.card {
  position: relative;
  width: 300px;
  left: 0;
  right: 0;
  margin: 0 auto;
  cursor: pointer;
  z-index: 2;
  transition: all .25s;
}
.card:hover {
  transform: scale(1.03);
}
.card .card-image {
  position: relative;
  width: 100%;
}
/* Card Header */
.card-header {
  display: flex;
  position: absolute;
  height: 70px;
  top: 0;
  width: 100%;
  background-color: #fff;
  align-items: center;
  visibility: hidden;
  transition: all .25s;
}
.card-header__avatar {
  width: 50px;
  float: left;
}
.card-header__lbl {
  font-family: "Poppins";
  color: #3c3c3c;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 50px;
  display: inline-block;
  top: 0;
}
.card:hover .card-header {
  top: -70px;
  box-shadow: 0px -15px 12px -7px rgba(0, 0, 0, .1);
  visibility: visible;
}
/* Card Footer */
.card-footer {
  display: flex;
  position: absolute;
  height: 80px;
  bottom: 5px;
  width: 100%;
  background: #fff;
  align-items: center;
  transition: all .25s;
  visibility: hidden;
}
.card-footer__info {
  padding: 15px;
}
.card-footer__title {
  font-family: "Poppins";
  color: #3c3c3c;
  font-weight: 700;
  margin: 0;
  padding: 0;
}
.card-footer__info small {
  font-family: "Poppins";
  margin: 0;
  padding: 0;
  color: #9c9c9c;
}
.card:hover .card-footer {
  bottom: -75px;
  box-shadow: 0px 15px 12px -7px rgba(0, 0, 0, .1);
  visibility: visible;
}
/* Effect 5 */
.card.effect5 .card-header {
  top: -70px;
  transform: perspective(500px) rotateX(-90deg);
  transform-origin: bottom;
  transition: all .4s;
}
.card.effect5 .card-footer {
  bottom: -70px;
  transform: perspective(500px) rotateX(90deg);
  transform-origin: top;
  transition: all .4s;
}
.card.effect5:hover .card-header, .card.effect5:hover .card-footer {
  transform: perspective(0) rotateX(0);
}
 
.card {
  position: relative;
  width: 300px;
  left: 0;
  right: 0;
  margin: 0 auto;
  cursor: pointer;
  z-index: 2;
  transition: all .25s;
}
.card:hover {
  transform: scale(1.03);
}
.card .card-image {
  position: relative;
  width: 100%;
}
/* Card Header */
.card-header {
  display: flex;
  position: absolute;
  height: 70px;
  top: 0;
  width: 100%;
  background-color: #fff;
  align-items: center;
  visibility: hidden;
  transition: all .25s;
}
.card-header__avatar {
  width: 50px;
  float: left;
}
.card-header__lbl {
  font-family: "Poppins";
  color: #3c3c3c;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 50px;
  display: inline-block;
  top: 0;
}
.card:hover .card-header {
  top: -70px;
  box-shadow: 0px -15px 12px -7px rgba(0, 0, 0, .1);
  visibility: visible;
}
/* Card Footer */
.card-footer {
  display: flex;
  position: absolute;
  height: 80px;
  bottom: 5px;
  width: 100%;
  background: #fff;
  align-items: center;
  transition: all .25s;
  visibility: hidden;
}
.card-footer__info {
  padding: 15px;
}
.card-footer__title {
  font-family: "Poppins";
  color: #3c3c3c;
  font-weight: 700;
  margin: 0;
  padding: 0;
}
.card-footer__info small {
  font-family: "Poppins";
  margin: 0;
  padding: 0;
  color: #9c9c9c;
}
.card:hover .card-footer {
  bottom: -75px;
  box-shadow: 0px 15px 12px -7px rgba(0, 0, 0, .1);
  visibility: visible;
}
/* Effect 6 */
.card.effect6 .card-header {
  top: -70px;
  transform: translateY(-20px);
  opacity: 0;
}
.card.effect6 .card-footer {
  bottom: -70px;
  transform: translateY(20px);
  opacity: 0;
}
.card.effect6:hover .card-header, .card.effect6:hover .card-footer {
  transform: translateY(0);
  opacity: 1;
}