Skip to content

Commit

Permalink
Added moving rectangle (#2379)
Browse files Browse the repository at this point in the history
  • Loading branch information
lio2011 committed Oct 29, 2023
1 parent d5a95f3 commit 2027479
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 20 deletions.
Binary file added Art/lio2011/Moving_rectangle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions Art/lio2011/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css">
</head>
<body>

<div></div>

</body>
</html>
17 changes: 17 additions & 0 deletions Art/lio2011/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
div {
width: 100px;
height: 100px;
background-color: red;
position: relative;
animation-name: example;
animation-duration: 4s;
animation-iteration-count: infinite;
}

@keyframes example {
0% {background-color:red; left:0px; top:0px;}
25% {background-color:yellow; left:200px; top:0px;}
50% {background-color:blue; left:200px; top:200px;}
75% {background-color:green; left:0px; top:200px;}
100% {background-color:red; left:0px; top:0px;}
}
45 changes: 25 additions & 20 deletions include.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
let cards = [
{
artName: 'Elevator Ride',
pageLink: './Art/deverestHood/index.html',
imageLink: './Art/deverestHood/elevator-ride.gif',
author: 'deverestHood',
githubLink: 'https://github.com/deverestHood'
},
{
artName: 'Elevator Ride',
pageLink: './Art/deverestHood/index.html',
imageLink: './Art/deverestHood/elevator-ride.gif',
author: 'deverestHood',
githubLink: 'https://github.com/deverestHood'
},
{
artName: 'Moving Rectangle',
pageLink: './Art/lio2011/index.html',
imageLink: './Art/lio2011/Moving_rectangle.png',
author: 'lio2011',
githubLink: 'https://github.com/lio2011'
},
{
artName: 'tilt-card-3d',
pageLink: './Art/Bidexdablitz/index.html',
Expand All @@ -21,7 +28,6 @@ let cards = [
githubLink: 'https://github.com/Kris248'
},
{

artName: 'Ball Animation',
pageLink: './Art/daemonvk18/animation..html',
imageLink: './Art/daemonvk18/animation.gif',
Expand Down Expand Up @@ -2041,7 +2047,6 @@ let cards = [
githubLink: 'https://github.com/vivekBoii'
},
{

artName: 'Rotating Spirals',
pageLink: './Art/Vivek-Kumar/RotatingSpirals.html',
imageLink: './Art/Vivek-Kumar/RotatingSpirals.gif',
Expand Down Expand Up @@ -2217,20 +2222,20 @@ let cards = [
githubLink: 'https://github.com/ishanchaskar'
},
{
artName: 'Button Fill Animation',
pageLink: './Art/shag1802/index.html',
artName: 'Button Fill Animation',
pageLink: './Art/shag1802/index.html',
imageLink: './Art/shag1802/hover_ani.gif',
author: 'Shaurya Agrawal',
githubLink: 'https://github.com/shag1802'
author: 'Shaurya Agrawal',
githubLink: 'https://github.com/shag1802'
},
{
artName: 'Magic Card',
pageLink: './Art/URK21CS1064/index.html',
imageLink: './Art/URK21CS1064/hacktober.png',
author: 'URK21CS1064',
githubLink: 'https://github.com/URK21CS1064'
pageLink: './Art/URK21CS1064/index.html',
imageLink: './Art/URK21CS1064/hacktober.png',
author: 'URK21CS1064',
githubLink: 'https://github.com/URK21CS1064'
},
{
{
artName: 'Circle',
pageLink: './Art/rishiiiidha/index.html',
imageLink: './Art/rishiiiidha/animation.gif',
Expand Down Expand Up @@ -2529,10 +2534,10 @@ let cards = [
pageLink: './Art/blue-butterflies/index.html',
imageLink: './Art/blue-butterflies/blob-animation.gif',
author: 'Siyana',
githubLink: 'https://github.com/BlueButterflies'
githubLink: 'https://github.com/BlueButterflies'
},
{
artName: 'Card Flip Animation',
artName: 'Card Flip Animation',
pageLink: './Art/DhanushNehru/index.html',
imageLink: './Art/DhanushNehru/card_flip.gif',
author: 'Dhanush',
Expand Down

0 comments on commit 2027479

Please sign in to comment.