Skip to content
Open
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
17 changes: 17 additions & 0 deletions Art/DRGGamble-Artwork/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">
<title>Something</title>
<link rel="stylesheet" type="text/css" href="style.css">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Incorrect css file name to use

The file should not be style.css -> Please checks the readme there is currently a typo.
This is why this line will need to be corrected along as the file name

</head>
<body>
<div class="container">
<div id="ET1"></div>
<div id="ET2"></div>
<div id="ET3"></div>
<div id="ET4"></div>
</div>
</body>
</html>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No extra file

  • Please remove this file: you should only have one index.html and one styles.css and meta.json files

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
96 changes: 96 additions & 0 deletions Art/DRGGamble-Artwork/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
body {
margin: 0;
padding: 0;
min-height: 100vh;
position: relative;
}

.container {
position: absolute;
top: 0;
height: 100%;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
transition: background 1s ease;
background: linear-gradient(135deg, hwb(185 45% 12%), #807b87);
}

.container:hover #ET2 {
animation: myAnimation2 2s ease-in-out infinite alternate;
}

.container:hover #ET3 {
animation: myAnimation3 2s ease-in-out infinite alternate;
}

.container:hover #ET4 {
animation: myAnimation4 2s ease-in-out infinite alternate;
}

#ET1 {
width: 400px;
height: 400px;
background-color: green;
animation-name: myAnimation;
animation-duration: 2s;
}

#ET2 {
width: 300px;
height: 300px;
background-color: blue;
animation-name: myAnimation;
animation-duration: 3s;
}

#ET3 {
width: 200px;
height: 200px;
background-color: yellow;
animation-name: myAnimation;
animation-duration: 4s;
}
#ET4 {
width: 100px;
height: 100px;
background-color: red;
animation-name: myAnimation;
animation-duration: 5s;
}

@keyframes myAnimation {
0% {background-color: red;}
25% {background-color: yellow;}
50% {background-color: blue;}
100% {background-color: green;}
}

@keyframes myAnimation2 {
0% {
transform: translateX(0px);
}

100% {
transform: translateX(-350px);
}
}

@keyframes myAnimation3 {
0% {
transform: translateX(0px);
}
100% {
transform: translateX(-600px);
}
}

@keyframes myAnimation4 {
0% {
transform: translateX(0px);
}
100% {
transform: translateX(-750px);
}
}
12 changes: 6 additions & 6 deletions public/cards.json
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No modifications allowed on public/cards.json

This file updates on its own - To add the json part, you need to provide a meta.json

  • Please remove any changes on this file

Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,12 @@
"projectPath": "Art/mattcsmith-triangle"
},
{
"author": "mrkc2303",
"artName": "eclipse",
"githubLink": "https://github.com/mrkc2303",
"pageLink": "./Art/mrkc2303-eclipse/index.html",
"imageLink": "./Art/mrkc2303-eclipse/icon.png",
"projectPath": "Art/mrkc2303-eclipse"
"author": "DRGGamble",
"artName": "Something",
"githubLink": "https://github.com/DRGGamble",
"pageLink": "./Art/DRGGamble-Artwork/index.html",
"imageLink": "./Art/DRGGamble-Artwork/something.gif",
"projectPath": "Art/DRGGamble-Artwork"
},
{
"author": "mrkc2303",
Expand Down