Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Category Animate #40

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
57 changes: 57 additions & 0 deletions Animate/beatingHeart.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<!DOCTYPE html>
<html>

<head>
<title> beatingHeart | Animate</title>
<style>



#beatingHeart {
margin-top: 20%;
margin-left: 20%;
width: 300px;
height: 200px;
position: relative;
text-align: center;
font-size: 60px;
color: red;


animation: beatingHeart 2s;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
animation-timing-function:linear;
animation-duration: 0.8s;
}

#beatingHeart::after {
content: "\2665";
}



@keyframes beatingHeart {
0% {
transform: scale(1);
opacity: 1;
}


35% {
transform: scale(1.4);
opacity: 1;
}

100% {
transform: scale(1);
}
}
</style>
</head>

<body>
<div id="beatingHeart"></div>
</body>

</html>
49 changes: 49 additions & 0 deletions Animate/rotate360.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<!DOCTYPE html>
<html>

<head>
<title> rotate360 | Animate</title>
<style>



#rotate360 {
margin-top: 20%;
margin-left: 20%;
width: 300px;
height: 200px;
position: relative;
text-align: center;


animation: rotate360 2s;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
animation-timing-function:linear;
animation-duration: 8s;
}

#rotate360::after {
content: "Am I a tangent or tangents? Who am I?" ;
}



@keyframes rotate360 {
0% {
transform: rotate(0deg);
opacity: 1;
}

100% {
transform: rotate(360deg);
}
}
</style>
</head>

<body>
<div id="rotate360"></div>
</body>

</html>
46 changes: 46 additions & 0 deletions Animate/zoomIn.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<!DOCTYPE html>
<html>

<head>
<title> zoomIn | Animate</title>
<style>



#zoomIn {
width: 200px;
height: 200px;
position: relative;
color: grey;
animation: zoomIn 2s;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
}

#zoomIn::after {
content: "The quick brown fox jumps over the lazy dog" ;
}



@keyframes zoomIn {
0% {
transform: scale(0.2);
opacity: 0;
}
60% {
transform: scale(1.4);
opacity: 1;
}
100% {
transform: scale(1);
}
}
</style>
</head>

<body>
<div id="zoomIn"></div>
</body>

</html>
43 changes: 43 additions & 0 deletions Animate/zoomOut.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<!DOCTYPE html>
<html>

<head>
<title> zoomOut | Animate</title>
<style>
#zoomOut {
width: 100px;
height: 80px;
position: relative;
text-align: center;
color: grey;
animation: zoomOut 2s;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
}

#zoomOut::after {
content: "May the Source be with you" ;
}

@keyframes zoomOut {
0% {
transform: scale(1.6);
opacity: 0.5;
}
50% {
transform: scale(1);
opacity: 1;
}
100% {
transform: scale(0.2);
opacity: 0;
}
}
</style>
</head>

<body>
<div id="zoomOut"></div>
</body>

</html>
Binary file added Assets/beatingHeart.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Assets/rotate360.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Assets/zoomIn.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Assets/zoomOut.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,14 @@ One `<div>`. Many possibilities.
| [United Kingdom](https://github.com/ManrajGrover/SingleDivProject/blob/master/Flags/UK.html) | [jdhoek](https://github.com/jdhoek) | ![United Kingdom](https://github.com/ManrajGrover/SingleDivProject/blob/master/Assets/UK.png) |
| [United States of America](https://github.com/ManrajGrover/SingleDivProject/blob/master/Flags/USA.html) | [jdhoek](https://github.com/jdhoek) | ![United States of America](https://github.com/ManrajGrover/SingleDivProject/blob/master/Assets/USA.png) |

### Animate

| Project Name | Your Name / Github Handle | Demo/Gif |
| :---: | :---: | :---: |
| [Zoom In](https://github.com/ManrajGrover/SingleDivProject/blob/master/Animate/zoomIn.html) | [netham91](https://github.com/netham91) | ![Zoom In](https://raw.githubusercontent.com/ManrajGrover/SingleDivProject/master/Assets/zoomIn.gif) |
| [Zoom Out](https://github.com/ManrajGrover/SingleDivProject/blob/master/Animate/zoomOut.html) | [netham91](https://github.com/netham91) | ![Zoom In](https://raw.githubusercontent.com/ManrajGrover/SingleDivProject/master/Assets/zoomOut.gif) |
| [Rotate 360](https://github.com/ManrajGrover/SingleDivProject/blob/master/Animate/rotate360.html) | [netham91](https://github.com/netham91) | ![Zoom In](https://raw.githubusercontent.com/ManrajGrover/SingleDivProject/master/Assets/rotate360.gif) |
| [Beating Heart (ASCII)](https://github.com/ManrajGrover/SingleDivProject/blob/master/Animate/beatingHeart.html) | [netham91](https://github.com/netham91) | ![Zoom In](https://raw.githubusercontent.com/ManrajGrover/SingleDivProject/master/Assets/beatingHeart.gif) |

## License
[MIT](https://github.com/ManrajGrover/SingleDivProject/blob/master/LICENSE).