Skip to content

Commit

Permalink
Merge pull request #1813 from zero-to-mastery/yellowberard-yellowberard
Browse files Browse the repository at this point in the history
Yellowberard yellowberard
  • Loading branch information
l-white authored Oct 2, 2023
2 parents 2ffb849 + 6febea6 commit 9b6ec29
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 0 deletions.
55 changes: 55 additions & 0 deletions Art/Mayank_goel/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #f0f0f07d;
}

.moving_flag {
width: 450px;
height: 300px;
position: relative;
overflow: hidden;
animation: wave 2s infinite linear;
}

.orange,
.white,
.green {
width: 33.33%;
height: 100%;
float: left;
}

.orange {
background-color: #ff9933;
}

.white {
background-color: white;
}

.green {
background-color: #138808;
}

@keyframes wave {
0%,
100% {
transform: translateX(0);
}

25% {
transform: translateX(-30%);
}

50% {
transform: translateX(0);
}

75% {
transform: translateX(30%);
}
}
17 changes: 17 additions & 0 deletions Art/Mayank_goel/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="index.css" />
<title>Moving Flag</title>
</head>

<body>
<div class="moving_flag">
<div class="orange"></div>
<div class="white"></div>
<div class="green"></div>
</div>
</body>
</html>
Binary file added Art/Mayank_goel/moving_flag.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions include.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,13 @@ let cards = [
imageLink: './Art/olga_min/animation.gif',
author: 'Olga',
githubLink: 'https://github.com/OlgaMinaievaWebDev'
},
{
artName: 'Moving Flag',
pageLink: './Art/Mayank_goel/index.html',
imageLink: './Art/Mayank_goel/moving_flag.gif',
author: 'Yelloberard',
githubLink: 'https://github.com/yellowberad'
}
];

Expand Down

0 comments on commit 9b6ec29

Please sign in to comment.