Assessment (Day-3).
Balance the following reactions
in
step.
os
Fego,3 +9A
>fet Alap
Answers
Answered by
3
[tex]<!DOCTYPE html>
<html lang="en">
<head>
<title>Project name</title>
</head>
<div class='box'>
<div class='ghost-body'>
<div class='left-eye'>
<div class='left-pupil'></div>
</div>
<div class='right-eye'>
<div class='right-pupil'></div>
</div>
<div class='trail-one'></div>
<div class='trail-two'></div>
<div class='trail-three'></div>
<div class='trail-four'></div>
</div>
<div class="shadow"></div>
</div>
<style>
body{
background: silver;
}
.box{
position: relative;
/* margin: auto; */
display: block;
margin-top: 8%;
margin-bottom:10%;
width: 600px;
height: 420px;
background: none;
animation:move 8s infinite linear forwards;
}
.ghost-body{
position: absolute;
top: 16.5%;
left: 25%;
width: 55%;
height: 85%;
background: white;
border-radius: 50% 50% 0 0;
z-index: 4;
animation:bob 2s infinite linear forwards;
}
.left-eye{
position: absolute;
background: white;
width: 20%;
height: 23%;
top: 25%;
left: 25%;
border:solid;
border-radius: 50%;
z-index: 3;
}
.right-eye{
position: absolute;
background: white;
width: 20%;
height: 23%;
top: 25%;
right: 25%;
border:solid;
border-radius: 50%;
z-index: 2;
}
.left-pupil{
position: absolute;
width: 28%;
height: 30%;
top: 35%;
left: 36%;
border-radius: 50%;
background: #27354A;
animation:look 5s linear infinite reverse;
}
.right-pupil{
position: absolute;
width: 28%;
height: 30%;
top: 35%;
left: 36%;
border-radius: 50%;
background: #27354A;
animation:look 5s linear infinite reverse;
}
.trail-one{
position:absolute;
height:30%;
width:26%;
background-color:white;
bottom:-20%;
left:-3%;
z-index:2;
border-radius:0 0 50% 50%;
transform:rotateZ(10deg);
}
.trail-two{
position:absolute;
height:25%;
width:26%;
background-color:white;
bottom:-15%;
left:24%;
z-index:2;
border-radius:0 0 50% 50%;
transform:rotateZ(8deg);
}
.trail-three{
position:absolute;
height:28%;
width:26%;
background-color:white;
bottom:-18%;
right:24%;
z-index:2;
border-radius:0 0 50% 50%;
transform:rotateZ(-8deg);
}
.trail-four{
position:absolute;
height:25%;
width:26%;
background-color:white;
bottom:-20%;
right:-2.5%;
z-index:2;
border-radius:0 0 50% 50%;
transform:rotateZ(-10deg);
}
.shadow{
position:absolute;
width:55%;
height:20%;
left:25%;
background-color:#333332;
z-index:2;
bottom:-80%;
border-radius:50%;
animation:shadowed 2s linear infinite;
}
@keyframes move {
0% {transform:translateX(-200px)}
50% {transform:translateX(1000px)}
100% {transform:translateX(-200px)}
}
@keyframes look{
0% {transfomr:translateX(0%)}
25% {transform:translateX(100%)}
50% { transform:translateX(0%)}
75% { transform:translateX(-100%)}
100%{transform:translateX(0%)}
}
@keyframes bob{
0% {transform:translateY(20%)}
25% {transform:translateY(50%)}
50% { transform:translateY(20%)}
75% { transform:translateY(50%)}
100%{transform:translateY(20%)}
}
@keyframes shadowed{
0% {transform:scaleX(0.7)}
25% {transform:scaleX(1.5)}
50% { transform:scaleX(0.7)}
75% { transform:scaleX(1.5)}
100%{transform:scaleX(0.7)}
}
</style>
</body>
</html>[/tex]
<html lang="en">
<head>
<title>Project name</title>
</head>
<div class='box'>
<div class='ghost-body'>
<div class='left-eye'>
<div class='left-pupil'></div>
</div>
<div class='right-eye'>
<div class='right-pupil'></div>
</div>
<div class='trail-one'></div>
<div class='trail-two'></div>
<div class='trail-three'></div>
<div class='trail-four'></div>
</div>
<div class="shadow"></div>
</div>
<style>
body{
background: silver;
}
.box{
position: relative;
/* margin: auto; */
display: block;
margin-top: 8%;
margin-bottom:10%;
width: 600px;
height: 420px;
background: none;
animation:move 8s infinite linear forwards;
}
.ghost-body{
position: absolute;
top: 16.5%;
left: 25%;
width: 55%;
height: 85%;
background: white;
border-radius: 50% 50% 0 0;
z-index: 4;
animation:bob 2s infinite linear forwards;
}
.left-eye{
position: absolute;
background: white;
width: 20%;
height: 23%;
top: 25%;
left: 25%;
border:solid;
border-radius: 50%;
z-index: 3;
}
.right-eye{
position: absolute;
background: white;
width: 20%;
height: 23%;
top: 25%;
right: 25%;
border:solid;
border-radius: 50%;
z-index: 2;
}
.left-pupil{
position: absolute;
width: 28%;
height: 30%;
top: 35%;
left: 36%;
border-radius: 50%;
background: #27354A;
animation:look 5s linear infinite reverse;
}
.right-pupil{
position: absolute;
width: 28%;
height: 30%;
top: 35%;
left: 36%;
border-radius: 50%;
background: #27354A;
animation:look 5s linear infinite reverse;
}
.trail-one{
position:absolute;
height:30%;
width:26%;
background-color:white;
bottom:-20%;
left:-3%;
z-index:2;
border-radius:0 0 50% 50%;
transform:rotateZ(10deg);
}
.trail-two{
position:absolute;
height:25%;
width:26%;
background-color:white;
bottom:-15%;
left:24%;
z-index:2;
border-radius:0 0 50% 50%;
transform:rotateZ(8deg);
}
.trail-three{
position:absolute;
height:28%;
width:26%;
background-color:white;
bottom:-18%;
right:24%;
z-index:2;
border-radius:0 0 50% 50%;
transform:rotateZ(-8deg);
}
.trail-four{
position:absolute;
height:25%;
width:26%;
background-color:white;
bottom:-20%;
right:-2.5%;
z-index:2;
border-radius:0 0 50% 50%;
transform:rotateZ(-10deg);
}
.shadow{
position:absolute;
width:55%;
height:20%;
left:25%;
background-color:#333332;
z-index:2;
bottom:-80%;
border-radius:50%;
animation:shadowed 2s linear infinite;
}
@keyframes move {
0% {transform:translateX(-200px)}
50% {transform:translateX(1000px)}
100% {transform:translateX(-200px)}
}
@keyframes look{
0% {transfomr:translateX(0%)}
25% {transform:translateX(100%)}
50% { transform:translateX(0%)}
75% { transform:translateX(-100%)}
100%{transform:translateX(0%)}
}
@keyframes bob{
0% {transform:translateY(20%)}
25% {transform:translateY(50%)}
50% { transform:translateY(20%)}
75% { transform:translateY(50%)}
100%{transform:translateY(20%)}
}
@keyframes shadowed{
0% {transform:scaleX(0.7)}
25% {transform:scaleX(1.5)}
50% { transform:scaleX(0.7)}
75% { transform:scaleX(1.5)}
100%{transform:scaleX(0.7)}
}
</style>
</body>
</html>[/tex]
Similar questions