"css3 - animation cloud runing "
Bootstrap 3.0.0 Snippet by shuvossd

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="sky">
<img class="cloud" src="http://images.clipartpanda.com/clouds-background-png-CloudImage.png" alt="cloud">
<img class="cloud" src="http://images.clipartpanda.com/clouds-background-png-CloudImage.png" alt="cloud">
</div>
<div class="grass"></div>
<div class="road">
<div class="lines"></div>
<img src="https://forum.imguol.com/avatars/gallery/noticias/Gifs%20Animados%2006/animados298.gif" class="mario" />
<img src="https://forum.imguol.com/avatars/gallery/noticias/Gifs%20Animados%2006/animados298.gif" alt="luigi" class="luigi" />
</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
/*// BASE STYLES //*/
html, body{
height: 100%;
width:100%;
overflow: hidden;
margin: 0;
}
.grass, .sky, .road{
position: relative;
}
.sky{
height: 40%;
background: skyblue;
}
.grass{
height: 30%;
background: seagreen;
}
.road{
height: 30%;
background: dimgrey;
box-sizing: border-box;
border-top: 10px solid grey;
border-bottom: 10px solid grey;
width: 100%;
}
.lines{
box-sizing: border-box;
border: 5px dashed #fff;
height: 0px;
width: 100%;
position: absolute;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: