Skip to content

Commit

Permalink
Merge pull request #1803 from zero-to-mastery/dsauce817-test
Browse files Browse the repository at this point in the history
Dsauce817 test
  • Loading branch information
l-white committed Oct 2, 2023
2 parents eaa5b75 + 460883a commit 5ef0554
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Art/runningBars/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<title>Running Bars</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div id="one"></div>
<div id="two"></div>
</body>
</html>
Binary file added Art/runningBars/running.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions Art/runningBars/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
div#one {
height: 400px;
width: 400px;
background: #0d00ff;
animation: slidein 4s linear 4s infinite alternate;
}

div#two {
height: 50%;
width: 50%;
background: #ff06b8;
transition: slidein;
animation: slidein 0.3s linear 1s infinite alternate;
}

div#one:active div#two {
background: green;
transform: translateX(100%);
}

@keyframes slidein {
from {
transform: scaleX(3);
}
to {
transform: scaleX(6);
}
}
7 changes: 7 additions & 0 deletions include.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ let cards = [
imageLink: './Art/Animation_makrenko-dev/logog.gif',
author: 'makrenko-dev',
githubLink: 'https://github.com/makrenko-dev'
},
{
artName: 'Running Laps',
pageLink: './Art/runningBars/index.html',
imageLink: './Art/runningBars/running.gif',
author: 'Daniel',
githubLink: 'https://github.com/dsauce817'
}
];

Expand Down

0 comments on commit 5ef0554

Please sign in to comment.