<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="carousel slide" data-ride="carousel" data-type="multi" data-interval="8000"
id="cardCarousel">
<div class="carousel-inner">
<div class="item active">
<div class="col-md-3 col-sm-6 col-xs-12">
<div class="card hovercard">
<div class="cardheader">
IOS Developer
</div>
<div class="info">
<div class="title">
Sr. Developer (Spring)
</div>
<div class="desc">3 - 5 years</div>
<div class="desc">xsxsxsx</div>
<div class="desc">cdcdcd</div>
<div class="desc">
Automation Testing : Automation tester, good on java
concept ,good hands on Appium tool. Good communication
</div>
</div>
<div class="bottom">
<a class="btn btn-primary btn-sm" href="#">Apply</a>
</div>
</div>
</div>
</div>
<div class="item">
<div class="col-md-3 col-sm-6 col-xs-12">
<div class="card hovercard">
<div class="cardheader">
IOS Developer
</div>
<div class="info">
<div class="title">
Sr. Developer (Spring)
</div>
<div class="desc">3 - 5 years</div>
<div class="desc">xsxsxsx</div>
<div class="desc">cdcdcd</div>
<div class="desc">
Automation Testing : Automation tester, good on java
concept ,good hands on Appium tool. Good communication
</div>
</div>
<div class="bottom">
<a class="btn btn-primary btn-sm" href="#">Apply</a>
</div>
</div>
</div>
</div>
<div class="item">
<div class="col-md-3 col-sm-6 col-xs-12">
<div class="card hovercard">
<div class="cardheader">
IOS Developer
</div>
<div class="info">
<div class="title">
Sr. Developer (Spring)
</div>
<div class="desc">3 - 5 years</div>
<div class="desc">xsxsxsx</div>
<div class="desc">cdcdcd</div>
<div class="desc">
Automation Testing : Automation tester, good on java
concept ,good hands on Appium tool. Good communication
</div>
</div>
<div class="bottom">
<a class="btn btn-primary btn-sm" href="#">Apply</a>
</div>
</div>
</div>
</div>
<div class="item">
<div class="col-md-3 col-sm-6 col-xs-12">
<div class="card hovercard">
<div class="cardheader">
IOS Developer
</div>
<div class="info">
<div class="title">
Sr. Developer (Spring)
</div>
<div class="desc">3 - 5 years</div>
<div class="desc">xsxsxsx</div>
<div class="desc">cdcdcd</div>
<div class="desc">
Automation Testing : Automation tester, good on java
concept ,good hands on Appium tool. Good communication
</div>
</div>
<div class="bottom">
<a class="btn btn-primary btn-sm" href="#">Apply</a>
</div>
</div>
</div>
</div>
</div>
<a class="left carousel-control" href="#cardCarousel" data-slide="prev"><i class="glyphicon glyphicon-chevron-left"></i></a>
<a class="right carousel-control" href="#cardCarousel" data-slide="next"><i class="glyphicon glyphicon-chevron-right"></i></a>
</div>
/* card */
.card {
padding-top: 20px;
margin: 10px 0 20px 0;
background-color: rgba(214, 224, 226, 0.2);
border-top-width: 0;
border-bottom-width: 2px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.card.people .card-bottom {
position: absolute;
bottom: 0;
left: 0;
display: inline-block;
width: 100%;
padding: 10px 20px;
line-height: 29px;
text-align: center;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.card.hovercard {
position: relative;
padding-top: 0;
overflow: hidden;
text-align: center;
background-color: rgba(214, 224, 226, 0.2);
min-height: 279px;
}
.card.hovercard .cardheader {
background: #dddddd;
background-size: cover;
padding:5px;
font-size: 22px;
}
.card.hovercard .info {
padding: 4px 8px 10px;
}
.card.hovercard .info .title {
margin-bottom: 4px;
font-size: 24px;
line-height: 1;
color: #262626;
vertical-align: middle;
}
.card.hovercard .info .desc {
overflow: hidden;
font-size: 12px;
line-height: 20px;
color: #737373;
text-overflow: ellipsis;
}
.card.hovercard .bottom {
position: absolute;
bottom: 0;
left: 0;
display: inline-block;
width: 100%;
padding: 10px 20px;
line-height: 29px;
text-align: center;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
/* close card */
.carousel-control {
width: 4%;
}
.carousel-control.left,
.carousel-control.right {
margin-left: 15px;
background-image: none;
}
@media (max-width: 767px) {
.carousel-inner .active.left {
left: -100%;
}
.carousel-inner .next {
left: 100%;
}
.carousel-inner .prev {
left: -100%;
}
.active>div {
display: none;
}
.active>div:first-child {
display: block;
}
}
@media (min-width: 767px) and (max-width: 992px) {
.carousel-inner .active.left {
left: -50%;
}
.carousel-inner .next {
left: 50%;
}
.carousel-inner .prev {
left: -50%;
}
.active>div {
display: none;
}
.active>div:first-child {
display: block;
}
.active>div:first-child+div {
display: block;
}
}
@media (min-width: 992px) {
.carousel-inner .active.left {
left: -16.7%;
}
.carousel-inner .next {
left: 16.7%;
}
.carousel-inner .prev {
left: -16.7%;
}
}
$(document).ready(function () {
$('#cardCarousel[data-type="multi"] .item').each(function () {
var next = $(this).next();
if (!next.length) {
next = $(this).siblings(':first');
}
next.children(':first-child').clone().appendTo($(this));
for (var i = 0; i < 2; i++) {
next = next.next();
if (!next.length) {
next = $(this).siblings(':first');
}
next.children(':first-child').clone().appendTo($(this));
}
});
});