SIMPLE DESIGN OF BICYCLE USING HTML AND CSS PART:-6

A MOVING BICYCLE


HI..
This Is Animation work over a moving cycle. it is fun to do work over animation every one should try this amazing work ..
MORE BLOGS AT:- https://darkwriter17.blogspot.com

The Program Start from Right here....


<!DOCTYPE html>
<html>
<head>
<title>revise</title>

<style>
body{
background-image:url(file:///G:/image/frank-zhang-675316-unsplash.jpg);
background-size: cover;

}

.wheelone{
width:220px;
height: 220px;
border-radius: 50%;
border:6px double black;
position:relative;
top:330px;
left:300px;
animation:wheelonemove 0.1s infinite linear;
}
@keyframes wheelonemove{
from{transform:rotate(0deg);}
to{transform:rotate(360deg); }
}
.wheeltwo{
width:220px;
height: 220px;
border-radius: 50%;
border:6px double black;
position: relative;
top:100px;
left: 790px;
animation:wheelonemove 0.1s infinite linear;
}

@keyframes wheelonemove{
from{transform:rotate(0deg);}
to{transform:rotate(360deg); }
}
.spokeone{
width: 1px;
height: 110px;
background: black;
border:2px solid black;
position:absolute;
transform: rotate(0deg);
left:100px;
top:-1px;
}
.spoketwo{
width: 1px;
height: 110px;
background: black;
border:2px solid black;
position:absolute;
left:105px;
top:-1px;
transform-origin: 0% 100%;
transform:rotate(119deg);
}
.spokethree{
width: 1px;
height: 100px;
background: black;
border:2px solid black;
position:absolute;
left:106px;
top:10px;
transform-origin: 0% 100%;
transform: rotate(240deg);
}

.spokefour{
width: 1px;
height: 110px;
background: black;
border:2px solid black;
position:absolute;
transform: rotate(0deg);
left:100px;
top:-1px;
}
.spokefive{
width: 1px;
height: 110px;
background: black;
border:2px solid black;
position:absolute;
left:105px;
top:-1px;
transform-origin: 0% 100%;
transform:rotate(119deg);
}
.spokesix{
width: 1px;
height: 100px;
background: black;
border:2px solid black;
position:absolute;
left:106px;
top:10px;
transform-origin: 0% 100%;
transform: rotate(240deg);
}
.pointerone{
width:30px;
height: 30px;
border-radius: 50%;
background: black;
position: relative;
bottom:-96px;
left: 87px;
}
.pointertwo{
width:30px;
height: 30px;
border-radius: 50%;
background: black;
position: relative;
bottom:-96px;
left: 87px;
}
.cyclebodyone{
width:260px;
height:4px;
border:3px solid ;
background: black;
position: relative;
left:410px;
bottom:21px;
}
.cyclebodytwo{
width:220px;
height:4px;
border:3px solid ;
background: black;
position: relative;
left:400px;
bottom:24px;
transform-origin: 0% 100%;
transform: rotate(-45deg);
}
.cyclebodythree{
width:8px;
height:270px;
border:3px solid ;
background: black;
position: relative;
left:600px;
bottom:270px;
transform: rotate(-37deg);
border-radius: 25%;
}
.cyclebodyfour{
width:260px;
height:15px;
border:1px solid ;
background: black;
position: relative;
left:560px;
bottom:480px;
transform: rotate(-3deg);
border-radius:20px;
}
.cyclebodyfive{
width:216px;
height:20px;
border:3px solid ;
background: black;
position: relative;
left:700px;
top:-335px;
transform-origin: 0% 100%;
transform: rotate(-55deg);
border-radius: 20px;
}

.cyclebodysix{
width:8px;
height:250px;
border:3px solid ;
background: black;
position: relative;
left:892px;
top:-600px;
transform-origin: 0% 100%;
transform: rotate(-23deg);
}
.cyclebodyseven{
width:120px;
height:30px;
border:3px solid ;
background: black;
position: relative;
left:470px;
bottom:825px;
border-radius: 30px;
}
.cyclebodyeight{
width:50px;
height:5px;
border:3px double;
background: black;
position: relative;
left:790px;
bottom:880px;
border-radius: 30px;
transform-origin: 0% 100%;
transform:rotate(-18deg);
}
.cyclebodynine{
width:4px;
height:110px;
border:3px solid ;
background: black;
position: relative;
left:833px;
bottom:960px;
border-radius: 30px;
}
</style>
</head>
<body>
<div class="wheelone">
<div class="spokeone"></div>
<div class="spoketwo"></div>
<div class="spokethree"></div>
<div class="pointerone"></div>
</div>
<div class="wheeltwo">
<div class="spokefour"></div>
<div class="spokefive"></div>
<div class="spokesix"></div>
<div class="pointertwo"></div>
</div>

<div class="cyclebodyone"></div>
<div class="cyclebodytwo"></div>
<div class="cyclebodythree"></div>
<div class="cyclebodyfour"></div>
<div class="cyclebodyfive"></div>
<div class="cyclebodysix"></div>
<div class="cyclebodyseven"></div>
<div class="cyclebodyeight"></div>
<div class="cyclebodynine"></div>

</body>
</html>

OUTPUT


Comments

Popular posts from this blog

Front End Processor

Short Note On Database, Stack And Queues, Linked List, Trees, Searching And Sorting, Tables And Graphs And Introduction About CAD

DATABASE ::: TREE TRAVERSAL