-
Notifications
You must be signed in to change notification settings - Fork 416
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
LostZoro476
committed
Jul 16, 2023
1 parent
3d7d290
commit e7244de
Showing
3 changed files
with
60 additions
and
1 deletion.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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%); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |