Skip to content
Closed
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
37 changes: 12 additions & 25 deletions 3D Earth/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
width: 300px;
height: 300px;
position: relative;
transform-style: preserve-3d;
animation: rotate 20s linear infinite;
}

.globe {
Expand All @@ -31,37 +29,26 @@
position: absolute;
transform-style: preserve-3d;
background: url('https://eoimages.gsfc.nasa.gov/images/imagerecords/57000/57735/land_ocean_ice_cloud_2048.jpg');
background-size: cover;
overflow: hidden;
}

.globe::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: 50%;
background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2) 0%, rgba(0,0,0,0.6) 70%);
animation: dayNightCycle 20s linear infinite;
background-size: 200% 150%;
animation: spin 20s linear infinite;
box-shadow:
inset 30px 0 80px rgba(0, 0, 0, 0.8),
inset -30px 0 40px rgba(255, 255, 255, 0.2),
0 0 40px rgba(168, 219, 255, 0.4);
}

.globe::after {
content: '';
content: "";
position: absolute;
width: 100%;
height: 100%;
inset: 0;
border-radius: 50%;
background: radial-gradient(circle at 60% 40%, rgba(255,255,255,0.1), rgba(0,0,0,0.6));
background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3), rgba(0,0,0,0.7) 70%);
mix-blend-mode: overlay;
opacity: 0.5;
animation: shadowMovement 20s linear infinite;
}

@keyframes rotate {
0% { transform: rotateY(0deg); }
100% { transform: rotateY(360deg); }
@keyframes spin {
0% { background-position: 0 0; }
100% { background-position: -200% 0; }
}

@keyframes dayNightCycle {
Expand Down
7 changes: 4 additions & 3 deletions Animated Loading Page/loading_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
</head>
<body>
<div class="container">
<div class="loading-page">
<h1>LOADING</h1>
</div>
<div class="loading-page">
<div class="spinner"></div>
<h1>LOADING</h1>
</div>
</div>
</body>
</html>
107 changes: 76 additions & 31 deletions Animated Loading Page/style.css
Original file line number Diff line number Diff line change
@@ -1,51 +1,96 @@
*{
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.container{

body, html {
height: 100%;
width: 100%;
overflow: hidden;
font-family: 'Georgia', sans-serif;
}

.container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
width: 100vw;
background: linear-gradient(#ade8f4, #90e0ef);
overflow: hidden;
}

.loading-page{
.loading-page {
display: flex;
position: absolute;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: greenyellow;
height: 100vh;
width: 100vw;
z-index: 10;
text-align: center;
gap: 30px;
}

.spinner {
width: 80px;
height: 80px;
border-radius: 50%;
border: 4px dashed rgba(0, 131, 212);
border-top-color: rgba(0, 131, 212);
animation: spin 10s linear infinite;
margin-bottom: 30px;
position: relative;
}

.loading-page h1::after{
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}

.loading-page h1 {
font-size: 70px;
color: rgba(0, 131, 212, 0.7);
}

.loading-page h1::after {
content: "";
color: darkgreen;
animation: 2s loadingAnim ease-out infinite;
animation: loadingAnim 2s steps(4) infinite;
position: absolute;
}

@keyframes loadingAnim {
0%{
content: "";
}

33%{
content: ".";
}
66%{
content: "..";
}
100%{
content: "...";
}
}

.loading-page h1{
font-size: 80px;
color: rgba(0, 0, 0, 0.6);
font-style: oblique;
0% { content: ""; }
25% { content: "."; }
50% { content: ".."; }
75% { content: "..."; }
100% { content: ""; }
}

.container::before,
.container::after {
content: "";
position: absolute;
width: 400px;
height: 400px;
border-radius: 50%;
filter: blur(100px);
animation: float 6s ease-in-out infinite alternate;
z-index: 0;
}

.container::before {
background: #48cae4;
top: -100px;
left: -100px;
}

.container::after {
background: #48cae4;
bottom: -100px;
right: -100px;
animation-delay: 3s;
}

@keyframes float {
0% { transform: translate(0, 0); }
100% { transform: translate(30px, -30px); }
}