Testimonials
Testimonial without slider effect.
by Prasad Gavande
HTML
<div class="container_testimonial">
<input type="radio" name="nav" id="first" checked/>
<input type="radio" name="nav" id="second" />
<input type="radio" name="nav" id="third" />
<label for="first" class="first"></label>
<label for="second" class="second"></label>
<label for="third" class="third"></label>
<div class="one slide">
<blockquote>
<span class="leftq quotes">“</span> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi... <span class="rightq quotes">„ </span>
</blockquote>
<img src="http://demo.webnots.com/files/theme/Testimonials/53.jpg" width="170" height="130" />
<h2>Christina Kruger</h2>
<h3>Executive Director</h3>
<h4>Web Design Studio</h4>
</div>
<div class="two slide">
<blockquote>
<span class="leftq quotes">“</span> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam quis nostrud exercitation... <a href="#"> read more</a><span class="rightq quotes">„ </span>
</blockquote>
<img src="http://demo.webnots.com/files/theme/Testimonials/78.jpg" width="170" height="130" />
<h2>Jenny Anderson</h2>
<h4>Marketing Manager</h4>
<h6>Web Design Studio</h6>
</div>
<div class="three slide">
<blockquote>
<span class="quotes leftq"> “</span> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi... <span class="rightq quotes">„ </span>
</blockquote>
<img src="http://demo.webnots.com/files/theme/Testimonials/99.jpg" width="170" height="130" />
<h2>Robert Bruce</h2>
<h4>Founder & CEO</h4>
<h6>Web Design Studio</h6>
</div>
</div>
CSS
<style type="text/css">
*{
box-sizing:border-box;
}
.container_testimonial{
width:500px;
min-height:375px;
margin:0 auto;
position:relative;
padding-bottom:30px;
overflow:hidden;
background-color: #F0DCDC;
}
input[type="radio"] {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
border: 0;
clip: rect(0 0 0 0);
overflow: hidden;
}
label{
display:block;
width:32%;
border: 4px solid white;
position:absolute;
bottom:5px;
cursor: pointer;
transition: border-color 0.3s linear;
}
label.second{
left:34%;
}
label.third{
left:68%;
}
blockquote{
margin:0;
padding:30px;
width:500px;
background-color: #DB532B;
color:white;
box-shadow: 0 5px 2px rgba(0,0,0,0.1);
position:relative;
transition: background-color 0.6s linear;
border-left: 0px solid #ddd !important;
}
blockquote::before {
content: none !important;
}
blockquote:after {
content: " ";
height: 0;
width: 0;
position: absolute;
top: 100%;
border: solid transparent;
border-top-color: #DA532B;
border-left-color:#DA532B;
border-width: 10px;
left: 10%;
}
#second:checked ~ .two blockquote {
background-color:purple;
}
.two blockquote:after{
border: solid transparent;
border-top-color: purple;
border-left-color:purple;
border-width: 10px;
}
#third:checked ~ .three blockquote{
background-color:#54885F;
}
.three blockquote:after{
border: solid transparent;
border-top-color: #54885F;
border-left-color: #54885F;
border-width: 10px;
}
.quotes{
position:absolute;
color:rgba(255,255,255,0.5);
font-size:10em;
}
.leftq{
left:-5px;
}
.rightq{
right:5px;
}
img{
float:left;
margin-right: 20px;
}
.slide{
position:absolute;
left:-100%;
opacity:0;
transition: all 0.6s ease-in;
}
#first:checked ~ label.first {
border-width:6px;
border-color:#DB532B;
}
#second:checked ~ label.second {
border-width:6px; border-color:purple;
}
#third:checked ~ label.third {
border:6px solid #54885F;
}
#first:checked ~ div.one {
left:0;
opacity:1;
}
#second:checked ~ div.two {
left:0;
opacity:1;
}
#third:checked ~...