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

adding my animation #2562

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
18 changes: 18 additions & 0 deletions Art/Adithya/animation101/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">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Rainbow Gradient Animation</title>
<!-- Bootstrap CSS CDN -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom CSS -->
<link rel="stylesheet" href="styles.css"> <!-- Link to your custom CSS file -->
</head>
<body>
<div class="gradient-container"></div>
<!-- Bootstrap JS Bundle (optional) -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>

Binary file added Art/Adithya/animation101/nebula-gif.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 40 additions & 0 deletions Art/Adithya/animation101/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
@keyframes gradient-animation {
0% {
transform: scale(1);
}
50% {
transform: scale(1.2);
}
100% {
transform: scale(1);
}
}

body {
background-color: black; /* Set the background color of the entire page to black */
margin: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
overflow: hidden;
}

.gradient-container {
width: 400px; /* Adjust size as needed */
height: 400px; /* Adjust size as needed */
background-color: black; /* Set background color to black */
background-image: radial-gradient(circle,
#000080, /* Dark Blue - Deep space */
#4B0082, /* Indigo - Star clusters */
#9400D3, /* Dark Violet - Nebulae */
#FF00FF, /* Magenta - Nebulae */
#FF7F00, /* Orange - Nebulae */
#FFFF00, /* Yellow - Stars */
#00FF00, /* Green - Stars */
#0000FF /* Blue - Stars */
);
background-size: cover;
animation: gradient-animation 2s ease infinite; /* Adjust animation duration as needed */
border-radius: 50%;
}
7 changes: 7 additions & 0 deletions include.js
Original file line number Diff line number Diff line change
Expand Up @@ -2903,6 +2903,13 @@ let cards = [
author: 'Kalliran',
githubLink: 'https://github.com/Kalliran'
},
{
artName: 'Nebula animation', // change this to the name of your artwork
pageLink: './Art/ms-roshni/triangle.html', // change this
imageLink: './Art/ms-roshni/nebula-gif.gif', // change this
author: 'Roshni', // use your name
githubLink: 'https://github.com/ms-roshni' // change this
}
];

/* -------------------------------------------------------------------------- */
Expand Down