Skip to content

Commit

Permalink
animation page
Browse files Browse the repository at this point in the history
  • Loading branch information
raja8287 committed Oct 26, 2021
1 parent 162f395 commit 822b7bf
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions animation.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<head>
<style>

@keyframes style1{
from(background-color: tomato;)
to(background-color: blue;)
}
@keyframes style2 {


}
#animation{
width:400px;
height: 400px;
background-color: red;
animation-name: style1;
animation-duration: 10s;
animation-iteration-count: infinite;
}
#animation2{
width: 400px;
height: 400px;
background-color: red;
animation-name:a;
animation-duration: 2s;

}
</style>
</head>

<body>
<div style="width: 600px; height: 300px" id="animation">
<p>animation text</p>
</div>
<div id="animation2">
<p>animation2</p>
</div>
</body>

0 comments on commit 822b7bf

Please sign in to comment.