Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

Commit

Permalink
Merge pull request #453 from zero-to-mastery/XanderRubio-master
Browse files Browse the repository at this point in the history
Xander rubio master
  • Loading branch information
l-white authored Aug 9, 2023
2 parents 0d46c86 + 8d1b535 commit 9f8bfd3
Show file tree
Hide file tree
Showing 5 changed files with 123 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Art/XanderClemens/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" />
<title>Cartoon Plane Flying in the Clouds</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div id="sky">
<div class="cloud"></div>
<div class="cloud"></div>
<div class="cloud"></div>
<div class="cloud"></div>
<div class="cloud"></div>
<div id="plane"><img src="plane.png" alt="Plane" /></div>
</div>
</body>
</html>
Binary file added Art/XanderClemens/plane.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Art/XanderClemens/plane.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
98 changes: 98 additions & 0 deletions Art/XanderClemens/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
body {
margin: 0;
padding: 0;
}

#sky {
width: 100%;
height: 100vh;
background-color: #87ceeb;
position: relative;
overflow: hidden;
}

.cloud {
position: absolute;
top: 50%;
left: -100px;
width: 200px;
height: 100px;
background-color: #fff;
border-radius: 50%;
transform: translate(-50%, -50%);
animation: moveClouds 9s linear infinite;
}

.cloud:nth-child(1) {
top: 20%;
left: 10%;
width: 150px;
height: 75px;
animation-delay: 0s;
}

.cloud:nth-child(2) {
top: 60%;
left: 30%;
width: 100px;
height: 50px;
animation-delay: 2s;
}

.cloud:nth-child(3) {
top: 40%;
left: 50%;
width: 120px;
height: 60px;
animation-delay: 4s;
}

.cloud:nth-child(4) {
top: 80%;
left: 70%;
width: 80px;
height: 40px;
animation-delay: 6s;
}

.cloud:nth-child(5) {
top: 30%;
left: 90%;
width: 100px;
height: 50px;
animation-delay: 8s;
}

@keyframes moveClouds {
0% {
transform: translate(-50%, -50%);
}
100% {
transform: translate(150%, -50%);
}
}

#plane {
position: absolute;
top: 50%;
left: -100px;
width: 100px;
height: 50px;
transform: translate(-50%, -50%);
animation: flyPlane 10s linear infinite;
}

#plane img {
width: 400px;
height: 200px;
object-fit: contain;
}

@keyframes flyPlane {
0% {
left: -100px;
}
100% {
left: 110%;
}
}
7 changes: 7 additions & 0 deletions include.js
Original file line number Diff line number Diff line change
Expand Up @@ -9431,6 +9431,13 @@ let cards = [
imageLink: './Art/erickelninoSwift/erickBallCricus.gif',
author: 'Erick El nino Tshimbombo',
githubLink: 'https://github.com/erickelninoSwift'
},
{
artName: 'Plane in the sky',
pageLink: './Art/XanderClemens/index.html',
imageLink: './Art/XanderClemens/plane.gif',
author: 'Xander Clemens',
githubLink: 'https://github.com/XanderRubio'
}
];

Expand Down

0 comments on commit 9f8bfd3

Please sign in to comment.