Skip to content

Commit

Permalink
Adding my animation to the Open source project (#2427)
Browse files Browse the repository at this point in the history
Co-authored-by: nyrkn10 <kevinnyariki9@gmail.com>
Co-authored-by: Sophia Brandt <16630701+sophiabrandt@users.noreply.github.com>
  • Loading branch information
3 people committed Nov 12, 2023
1 parent c6fd66a commit 718d76b
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 1 deletion.
12 changes: 12 additions & 0 deletions Art/Nyrkn10/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class="animate"></div>


</body>
</html>
Binary file added Art/Nyrkn10/set.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions Art/Nyrkn10/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.animate {
width: 100px;
height: 100px;
background-color: blue;
position: relative;
animation-name: animated;
animation-duration: 4s;
animation-iteration-count: 6;
}


@keyframes animated{
0% { left:0px; top:0px;}
25% { left:100px; top:0px;}
50% { left:100px; top:100px;}
75% { left:0px; top:200px;}
100% { left:0px; top:0px;}
}
8 changes: 7 additions & 1 deletion include.js
Original file line number Diff line number Diff line change
Expand Up @@ -2855,7 +2855,13 @@ let cards = [
githubLink: 'https://github.com/daniel-badura'
},
{
artName: 'Fascinating Animation',
artName: 'Animated',
pageLink: './Art/Nyrkn10/index.html',
imageLink: './Art/Nyrkn10/set.gif',
author: 'Nyariki Kevin',
githubLink: 'https://github.com/nyrkn10>'
},
{ artName: 'Fascinating Animation',
pageLink: './Art/moutro/index.html',
imageLink: './Art/moutro/Animation-Nation.png',
author: 'Jay',
Expand Down

0 comments on commit 718d76b

Please sign in to comment.