Skip to content

Commit

Permalink
fixed formtting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
l-white committed Oct 2, 2023
2 parents 1c74958 + f3f4519 commit 04c20cb
Show file tree
Hide file tree
Showing 4 changed files with 89 additions and 0 deletions.
Binary file added Art/Rstallings/Animation.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/Rstallings/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Four Color Loader</title>
<link href="./style.css" rel="stylesheet" />
</head>
<body>
<h1>Four Color Preloader</h1>
<div class="loader">
<div id="Red" class="box bounce"></div>
<div id="Blue" class="box bounce"></div>
<div id="Yellow" class="box bounce"></div>
<div id="Green" class="box bounce"></div>
</div>
</body>
</html>
64 changes: 64 additions & 0 deletions Art/Rstallings/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
body {
background-color: bisque;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}

h1 {
font-family: Lato, 'Trebuchet MS', 'Verdana', 'sans-serif';
text-align: center;
justify-content: center;
font-size: 44pt;
font-family: Lato, 'Trebuchet MS', 'Verdana', 'sans-serif';
}
.loader {
display: flex;
justify-content: center;
}

.box {
width: 50px;
height: 50px;
transform-origin: bottom;
border-radius: 50%;
margin-right: 1em;
}

.bounce {
animation: bounce 3s ease infinite;
}

.loader > #Red {
background: red;
}

.loader > #Blue {
background: blue;
animation-delay: 0.2s;
}

.loader > #Yellow {
background: yellow;
animation-delay: 0.3s;
}

.loader > #Green {
background: green;
animation-delay: 0.4s;
}

@keyframes bounce {
0% {
transform: translateY(0);
}
50% {
transform: translateY(100px);
}
100% {
transform: translateY(0);
}
}
7 changes: 7 additions & 0 deletions include.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ let cards = [
imageLink: './Art/Ibaad/animationimagehover.gif',
author: 'Ibaad',
githubLink: 'https://github.com/ibaaddurrani'
},
{
artName: '4 Color Loader',
pageLink: './Art/rstallings/index.html',
imageLink: './Art/rstallings/Animation.gif',
author: 'Roosevelt S.',
githubLink: 'https://github.com/rstallingsiii'
}
];

Expand Down

0 comments on commit 04c20cb

Please sign in to comment.