Customer Testimonial

by Colleen Loustalot

HTML

<div class="flip-container" ontouchstart="this.classList.toggle('hover');">
  <div class="flipper">
    <div class="front">
    <front background = "img src=(http://sodacitybizwire.com/wp-content/uploads/2017/01/Gregory.jpg)";></front>
      <span class="name">Greg Avant</span>
      </div>
    <div class="back">
      <div class="back-logo"></div>
      <div class="back-title">Lone Tree Golf Club</div>
      <p>"We first heard about the ORCA Report through the GCOA Arizona. We quickly realized that this is a tool we needed immediately. We have subscribed and never looked back."
</p>
    </div>
  </div>
</div>

CSS

/* Flip Animation*/ /* entire container, keeps perspective */
.flip-container {
  -webkit-perspective: 500;
  -moz-perspective: 500;
  -o-perspective: 500;
  perspective: 500;
box-shadow: 5px 5px 15px #105656;
    border: 1px solid #f5f5fb;
    width: 280px;
	height: 320px;
}

	.flip-container:hover .flipper,  
  .flip-container.hover .flipper {
		-webkit-transform: rotateY(180deg);
		-moz-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
		transform: rotateY(180deg);
	}

.flip-container, .front, .back {
    border-radius: 15px;
    width: 280px;
	height: 320px;
}

.flipper {
	-webkit-transition: 0.6s;
	-webkit-transform-style: preserve-3d;

	-moz-transition: 0.6s;
	-moz-transform-style: preserve-3d;
  
  -o-transition: 0.6s;
	-o-transform-style: preserve-3d;

	transition: 0.6s;
	transform-style: preserve-3d;

	position: relative;

}

.front, .back {
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
  -o-backface-visibility: hidden;
	backface-visibility: hidden;
padding:10px;

	position: absolute;
	top: 0;
	left: 0;
}

.front {
	z-index: 2;
}

.back {
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
	transform: rotateY(180deg);

	background: #f8f8f8;
}

.front .name {
	font-size: 2em;
	display: inline-block;
	background: rgba(33, 33, 33, 0.9);
	color: #f8f8f8;
	font-family: Courier;
	padding: 5px 10px;
	border-radius: 5px;
	bottom: 60px;
	left: 25%;
	position: absolute;
	text-shadow: 0.1em 0.1em 0.05em #333;

	-webkit-transform: rotate(-20deg);
	-moz-transform: rotate(-20deg);
  -o-transform: rotate(-20deg);
	transform: rotate(-20deg);
}


.back-title {
	font-weight: bold;
	color: #00304a;
	position: absolute;
	top: 10px;
    padding: 10px;
	left: 0;
	right: 0;
	text-align: center;
	text-shadow: 0.1em 0.1em 0.05em #acd7e5;
	font-family: Courier;
    letter-spacing: 1px;
	font-size: 2em;
}

.back p {
	position: absolute;
	bottom: 25px;
	left: 0;
	right: 5px;
  width: 100%;
 ...