Skip to content

Commit

Permalink
Merge pull request #1821 from zero-to-mastery/Venkateeshh-Venkateesh
Browse files Browse the repository at this point in the history
Venkateeshh venkateesh
  • Loading branch information
l-white committed Oct 2, 2023
2 parents 6f0718e + b22a560 commit ebe8c85
Show file tree
Hide file tree
Showing 4 changed files with 83 additions and 0 deletions.
Binary file added Art/Venkateeshh/BounceBall.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions Art/Venkateeshh/BouncingBall.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=3, initial-scale=1.0" />
<title>BouncingBall</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="loader"></div>
</body>
</html>
64 changes: 64 additions & 0 deletions Art/Venkateeshh/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
body {
background: linear-gradient(90deg, #efd5ff 0%, #515ada 100%);
}

.loader {
position: relative;
width: 120px;
height: 90px;
margin: 30% auto;
}

.loader:before {
content: '';
position: absolute;
bottom: 30px;
left: 50px;
height: 30px;
width: 30px;
border-radius: 50%;
background: #e3ca8a;
animation: loading-bounce 0.5s ease-in-out infinite alternate;
}

.loader:after {
content: '';
position: absolute;
right: 0;
top: 0;
height: 7px;
width: 45px;
border-radius: 4px;
box-shadow: 0 5px 0 #f2f2f2, -35px 50px 0 #f2f2f2, -70px 95px 0 #f2f2f2;
animation: loading-step 1s ease-in-out infinite;
}

@keyframes loading-bounce {
0% {
transform: scale(1, 0.7);
}

40% {
transform: scale(0.8, 1.2);
}

60% {
transform: scale(1, 1);
}

100% {
bottom: 140px;
}
}

@keyframes loading-step {
0% {
box-shadow: 0 10px 0 rgba(0, 0, 0, 0), 0 10px 0 #f2f2f2,
-35px 50px 0 #f2f2f2, -70px 90px 0 #f2f2f2;
}

100% {
box-shadow: 0 10px 0 #f2f2f2, -35px 50px 0 #f2f2f2, -70px 90px 0 #f2f2f2,
-70px 90px 0 rgba(0, 0, 0, 0);
}
}
7 changes: 7 additions & 0 deletions include.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,13 @@ let cards = [
imageLink: './Art/Alexandra2888/cup.gif',
author: 'Alexandra2888',
githubLink: 'https://github.com/Alexandra2888'
},
{
artName: 'BouncingBall',
pageLink: './Art/Venkateeshh/BouncingBall.html',
imageLink: './Art/Venkateeshh/BounceBall.gif',
author: 'Venkatesh',
githubLink: 'https://github.com/Venkateeshh'
}
];

Expand Down

0 comments on commit ebe8c85

Please sign in to comment.