1//Author:Mohammad Arman Khan
2//BOOTSTYRAP CAROUSEL(SLIDER_LOCALLY KNOWN)
3<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
4 <ol class="carousel-indicators">
5 <li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
6 <li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
7 <li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
8 </ol>
9 <div class="carousel-inner" role="listbox">
10 <!-- Slide One - Set the background image for this slide in the line below -->
11 <div class="carousel-item active" style="background-image: url('https://www.bonfiglioli.com/india/images/Asphalt/image-thumb__38736__slider/istock-466386521.jpeg')">
12 <div class=" col-md-6 divleft-top">
13
14 <p class="text-CSS">
15 Solutions for the Asphalt Industry </p>
16
17 </div>
18 </div>
19 <!-- Slide Two - Set the background image for this slide in the line below -->
20 <div class="carousel-item" style="background-image: url('https://www.bonfiglioli.com/india/images/Asphalt/image-thumb__38736__slider/istock-466386521.jpeg')">
21 <div class="col-md-6 divleft-top">
22
23 <p class="text-CSS">
24 Solutions for the Asphalt Industry </p>
25
26 </div>
27 </div>
28 <!-- Slide Three - Set the background image for this slide in the line below -->
29 <div class="carousel-item"
30 style="background-image: url('https://www.bonfiglioli.com/india/images/Asphalt/image-thumb__38736__slider/istock-466386521.jpeg')">
31 <div class="col-md-6 divleft-top">
32
33 <p class="text-CSS">
34 Solutions for the Asphalt Industry </p>
35 </div>
36 </div>
37 </div>
38 <a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
39 <span class="carousel-control-prev-icon" aria-hidden="true"></span>
40 <span class="sr-only">Previous</span>
41 </a>
42 <a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
43 <span class="carousel-control-next-icon" aria-hidden="true"></span>
44 <span class="sr-only">Next</span>
45 </a>
46</div>
47
48
49//CSS
50.carousel-item {
51height: 100vh;
52min-height: 350px;
53background: no-repeat center center scroll;
54-webkit-background-size: cover;
55-moz-background-size: cover;
56-o-background-size: cover;
57background-size: cover;
58}
59//optional css
60.text-CSS {
61 font-size: 55px;
62 color: #003861!important;
63 padding-top: 240px;
64 padding-left: 110px;
65}