Check code of Slider 7
Get This slider code
<div class="bg-light">
<section id="slider-sec" class="slider7">
<div id="slider7" class="carousel bs-slider slide control-round indicators-line" data-ride="carousel" data-pause="hover" data-interval="7000">
<ol class="carousel-indicators">
<li data-target="#slider7" data-slide-to="0" class="active"></li>
<li data-target="#slider7" data-slide-to="1"></li>
</ol>
<!-- Wrapper For Slides -->
<div class="carousel-inner" role="listbox">
<div class="carousel-item active">
<!-- Slide Background --><img src="../assets/images/sliders/slider7/slide1.jpg" alt="We are Digital Agency" class="slide-image" />
<!-- Slide Text Layer -->
<div class="slide-text slide_style_left">
<div class="container">
<div class="row">
<div class="col-sm-10 col-md-8 col-lg-5" data-animation="animated slideInDown">
<div class="bg-info-gradiant text-center slide-content po-relative">
<label class="label text-primary font-14 m-0 label-rounded bg-white">Healthcare</label>
<h2 data-animation="animated flipInX" class="title m-b-0 text-white">Get Well Soon</h2>
<p data-animation="animated fadeInLeft" class="m-t-30 text-white op-7">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris hendrerit fringilla ligula, nec congue leo pharetra in.</p> <a href="#" class="bg-white text-left text-info"><i class="icon icon-Right"></i></a> </div>
</div>
</div>
</div>
</div>
</div>
<!-- End of Slide -->
<!-- Second Slide -->
<div class="carousel-item">
<!-- Slide Background --><img src="../assets/images/sliders/slider7/slide2.jpg" alt="Building Magical Apps" class="slide-image" />
<!-- Slide Text Layer -->
<div class="slide-text">
<div class="container">
<div class="row">
<div class="col-sm-10 col-lg-5">
<div class="bg-info-gradiant text-center slide-content" data-animation="animated slideInDown">
<label class="label text-primary font-14 m-0 label-rounded bg-white">General</label>
<h2 data-animation="animated flipInY" class="title m-b-0 text-white">Feel Like Home</h2>
<p data-animation="animated fadeInRight" class="m-t-30 text-white op-7">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris hendrerit fringilla ligula, nec congue leo pharetra in.</p> <a href="#" class="bg-white text-left text-info"><i class="icon icon-Right"></i></a> </div>
</div>
</div>
</div>
</div>
</div>
<!-- End of Slide -->
<!-- End of Wrapper For Slides -->
<!-- Slider Control -->
<div class="slider-control hide">
<!-- Left Control -->
<a class="left carousel-control-prev text-danger font-14" href="#slider7" role="button" data-slide="prev"> <span class="bg-white text-center ti-arrow-left" aria-hidden="true"></span> <b class="sr-only font-normal">Previous</b> </a>
<!-- Right Control -->
<a class="right carousel-control-next text-danger font-14" href="#slider7" role="button" data-slide="next"> <span class="bg-white text-center ti-arrow-right" aria-hidden="true"></span> <b class="sr-only font-normal">Next</b> </a>
</div>
<!-- End of Slider Control -->
</div>
</div>
<!-- End Slider -->
</section>
</div>
@keyframes imagescale {
0% {
transform: scale(1.0);
-webkit-transform: scale(1.0);
-moz-transform: scale(1.0);
-o-transform: scale(1.0);
}
100% {
transform: scale(1.3);
-webkit-transform: scale(1.3);
-moz-transform: scale(1.3);
-o-transform: scale(1.3);
}
}
.slider7 {
.slide-image {
animation: imagescale 15s ease-in-out infinite alternate;
-webkit-animation: imagescale 15s ease-in-out infinite alternate;
-moz-animation: imagescale 15s ease-in-out infinite alternate;
-o-webkit-animation: imagescale 15s ease-in-out infinite alternate;
}
h2 {
font-size:32px;
}
p {
line-height:26px;
}
.slide-content {
padding:80px 25px;
position:relative;
opacity:0.9;
border-radius:50%;
max-width:397px;
min-height:397px;
}
label {
line-height:31px;
min-width:110px;
}
a {
border-radius:50%;
height:60px;
width:60px;
position:absolute;
font-size:28px;
right:70px;
bottom:0;
i {
line-height:60px;
}
}
.carousel-indicators {
bottom:0;
li {
background-color:rgba(0,0,0,0.3);
&.active{
background-color:$themecolor;
}
}
}
}
@media (max-width:768px) {
.slider7 {
.slide-text {
padding:0 !important;
width:100% !important;
}
.slide-image {
height:430px;
left:-30%;
position: relative;
width: auto !important;
}
}
}
@media (max-width: 428px) {
.slider7 {
.slide-image {
left:-90%;
width: auto;
}
.slide-content {
min-width:100px;
max-width:300px;
min-height:300px;
padding:40px 25px;
}
h2 {
font-size:28px;
}
p {
font-size:14px;
margin-top:20px !important;
}
a {
height:50px;
width:50px;
font-size:26px;
right:55px;
i {
line-height:50px;
}
}
}
}
$('#slider7').bsTouchSlider();
$(".carousel .carousel-inner").swipe({
swipeLeft: function (event, direction, distance, duration, fingerCount) {
this.parent().carousel('next');
}
, swipeRight: function () {
this.parent().carousel('prev');
}
, threshold: 0
});