Testimonial Card with Under Lying Image

HTML
<figure class="snip1139"> <blockquote>The following is placeholder text known as “lorem ipsum,” which is scrambled Latin used by designers to mimic real copy. Mauris id fermentum nulla. Suspendisse nec congue purus. <div class="arrow"></div> </blockquote> <img src="https://images.unsplash.com/photo-1525248152312-434c15a82f37?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=780&q=80" alt="sample17"/> <div class="author"> <h5>Client Name<span>- Location</span></h5> </div> </figure>
CSS
// Testimonial card with under lying image // /* Icon set - http://ionicons.com/ */ @import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css); figure.snip1139 { font-family: 'Raleway', Arial, sans-serif; position: relative; overflow: hidden; margin: 10px; min-width: 220px; max-width: 310px; width: 100%; color: #333; text-align: left; box-shadow: 0 0 5px rgba(0, 0, 0, 0.15); border-radius: 8px; } figure.snip1139 * { -webkit-box-sizing: border-box; box-sizing: border-box; -webkit-transition: all 0.35s cubic-bezier(0.25, 0.5, 0.5, 0.9); transition: all 0.35s cubic-bezier(0.25, 0.5, 0.5, 0.9); } figure.snip1139 img { max-width: 100%; vertical-align: middle; } figure.snip1139 blockquote { position: relative; background-color: #ffffff; padding: 25px 50px 25px 50px; font-size: 0.8em; font-weight: 500; text-align: left; margin: 0; line-height: 1.6em; font-style: italic; } figure.snip1139 blockquote:before, figure.snip1139 blockquote:after { font-family: 'FontAwesome'; content: "\201C"; position: absolute; font-size: 50px; opacity: 0.3; font-style: normal; } figure.snip1139 blockquote:before { top: 25px; left: 20px; } figure.snip1139 blockquote:after { content: "\201D"; right: 20px; bottom: 0; } figure.snip1139 .arrow { top: 100%; width: 0; height: 0; border-left: 0 solid transparent; border-right: 25px solid transparent; border-top: 25px solid #ffffff; margin: 0; position: absolute; } figure.snip1139 .author { position: absolute; bottom: 0; width: 100%; padding: 5px 25px; color: #000000; background-color: #ffffff; margin: 0; text-transform: uppercase; } figure.snip1139 .author h5 { opacity: 0.8; margin: 0; font-weight: 800; } figure.snip1139 .author h5 span { font-weight: 400; text-transform: none; padding-left: 5px; }
JAVASCRIPT
Expand for more options Login