Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dsauce817 test #1803

Merged
merged 3 commits into from
Oct 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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