Skip to content

Commit

Permalink
Update include.js (#2329)
Browse files Browse the repository at this point in the history
* Update include.js

added info to include.js

* fixed missing changes
  • Loading branch information
nharjes committed Oct 24, 2023
1 parent 00f8533 commit 3d1b309
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 0 deletions.
Binary file added Art/nharjes/ColorfulBackgroundDemo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions Art/nharjes/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="styles.css">
</head>
<body>
<div class="colorful-background">
<div class="animated-text">This is a colorful background animation in CSS</div>
</div>
</body>
</html>
36 changes: 36 additions & 0 deletions Art/nharjes/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
body {
margin: 0;
padding: 0;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}

.colorful-background {
width: 100%;
height: 100%;
background: linear-gradient(45deg, #f06, #09f, #6f0, #f06);
background-size: 400% 400%;
animation: animateBackground 10s linear infinite;
filter: brightness(0.8);
}



.animated-text {
font-size: 80px;
text-align: center;
color: white;
margin-top: 200px;
}

@keyframes animateBackground {
0% {
background-position: 0% 50%;
}
100% {
background-position: 100% 50%;
}
}
7 changes: 7 additions & 0 deletions include.js
Original file line number Diff line number Diff line change
Expand Up @@ -2311,6 +2311,13 @@ let cards = [
imageLink: './Art/Dzivmv/rainbow_rain.gif',
author: 'Dzivmv',
githubLink: 'https://github.com/Dzivmv'
},
{
artName: 'colorful background',
pageLink: './Art/nharjes/index.html',
imageLink: './Art/nharjes/ColorfulBackgroundDemo.gif',
author: 'nharjes',
githubLink: 'https://github.com/nharjes'
}
];

Expand Down

0 comments on commit 3d1b309

Please sign in to comment.