"slider + over"
Bootstrap 4.0.0 Snippet by delpdeli

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.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="col-xs-12 col-sm-12 col-md-6 col-lg-6">
<div id="autoanimatie">
<div class="container">
<div id="autootje">
<img class="img-fluid" src="./img/fruittruckanimatie.png" alt="fruittruck">
<span class="wiel links"></span>
<span class="wiel rechts"></span>
</div>
</div>
</div>
</div>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*ANIMATIE*/
#autoanimatie {
margin-top: 100px;
}
#autootje {
margin: 10% auto -25px;
position: relative;
width: 300px;
-webkit-animation: autootje 15s infinite;
animation: autootje 15s infinite;
}
#autootje img {
width: 100%;
animation: suspension 1s infinite;
}
#autootje .wiel {
background: url("../img/wiel.png") no-repeat center center;
background-size: 99% auto;
display: block;
width: 45px;
height: 45px;
position: absolute;
bottom: -5px;
-webkit-animation: spin 0.2s linear infinite;
animation: spin 0.2s linear infinite;
}
.wiel.links {
left: 32px;
}
.wiel.rechts {
right: 32px;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: