Skip to content

Commit

Permalink
Added the Gita Storyline BackGround
Browse files Browse the repository at this point in the history
  • Loading branch information
LostZoro476 committed Jul 16, 2023
1 parent 3d7d290 commit e7244de
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 1 deletion.
Binary file added Gita-Storyline/image4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 48 additions & 0 deletions Gita-Storyline/storyline.css
Original file line number Diff line number Diff line change
@@ -1 +1,49 @@
*{
box-sizing: border-box;
}
body{
margin: 0;
padding: 0;
/* background-color: #000; */
background-image: url("image4.jpg");
background-size: cover;
overflow: hidden;
overflow-x: hidden;
overflow-y: hidden;
}
.milky-way
{
background: #000 url(https://cdn.spacetelescope.org/archives/images/screen/heic0602a.jpg) no-repeat center center /cover;
width: 700px;
height: 700px;
margin: 100px auto auto;
border-radius: 50%;
box-shadow: inset 0 0 40px #000, inset 0 0 40px #000;
transform: rotateX(-50deg);
animation: animate 60s linear infinite;
}

@keyframes animate {
0%{
transform: rotateX(40deg) rotate(0deg);
}
100%{
transform: rotateX(40deg) rotate(360deg);
}
}

@media (max-width: 200px) {
.milky-way {
background: #000 url(https://cdn.spacetelescope.org/archives/images/screen/heic0602a.jpg) no-repeat center center /cover;
width: 100%;
height: auto;
margin: 0 auto;
border-radius: 50%;
box-shadow: inset 0 0 40px #000, inset 0 0 40px #000;
transform: rotateX(-50deg);
animation: animate 60s linear infinite;
position: relative;
left: 50%;
transform: translateX(-50%);
}
}
13 changes: 12 additions & 1 deletion Gita-Storyline/storyline.html
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="storyline.css">
<title>Gita Storyline</title>
</head>
<body>
<div class="milky-way"></div>
</body>
</html>

0 comments on commit e7244de

Please sign in to comment.