Skip to content

Commit

Permalink
fixed merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
l-white committed Sep 14, 2023
2 parents c780fb0 + c9e9ff7 commit 39be5b2
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 0 deletions.
Binary file added Art/ball/bouncing-ball.gif
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/ball/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="./style.css" />
<title>Ball</title>

</head>
<body>
<div class="ball"></div>
</body>
</html>
35 changes: 35 additions & 0 deletions Art/ball/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
body {
margin: 0;
padding: 0;
}

.ball {
width: 100px;
height: 100px;
border-radius: 50%;
background-color: red;
position: absolute;
top: 0;
left: 0;
margin-top: 100px;
position: absolute;

left: 50%;
transform: translate(-50%, -50%);
}

@keyframes bounce {
0% {
top: 0;
}
50% {
top: 100px;
}
100% {
top: 0;
}
}

.ball {
animation: bounce 2s infinite;
}
7 changes: 7 additions & 0 deletions include.js
Original file line number Diff line number Diff line change
Expand Up @@ -6567,6 +6567,13 @@ let cards = [
imageLink: './Art/AayushNair/3d/style.css',
author: 'Aayush',
githubLink: 'https://github.com/aayushnr'
},
{
artName: 'Bouncing Ball',
pageLink: './Art/ball/index.html',
imageLink: './Art/ball/bouncing-ball.gif',
author: 'Varian1',
githubLink: 'https://github.com/varian1'
}
];

Expand Down

0 comments on commit 39be5b2

Please sign in to comment.