-
Notifications
You must be signed in to change notification settings - Fork 33
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
1 parent
00f7456
commit 6589eb5
Showing
5 changed files
with
104 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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Neumorphism Gradient Loader</title> | ||
<link rel="stylesheet" href="style.css" /> | ||
</head> | ||
<body> | ||
<div class="loader"> | ||
<span></span> | ||
<span></span> | ||
<span></span> | ||
<span></span> | ||
<span></span> | ||
</div> | ||
<footer> | ||
<div> | ||
<p> | ||
Credit:- | ||
<a href="https://github.com/Lavish-Bansal" class="atag" target="/" | ||
>Lavish Bansal</a | ||
> | ||
</p> | ||
</div> | ||
<div class="date">Date:- 03-10-2021</div> | ||
</footer> | ||
</body> | ||
</html> |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Neumorphism Gradient Loader | ||
<img src="./image.jpg"/> |
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 |
---|---|---|
@@ -0,0 +1,70 @@ | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
body { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
min-height: 100vh; | ||
background: #f1f1f1; | ||
} | ||
|
||
.loader { | ||
position: relative; | ||
width: 200px; | ||
height: 200px; | ||
border: 4px solid #f1f1f1; | ||
border-radius: 50%; | ||
overflow: hidden; | ||
box-shadow: -10px -10px 15px rgba(255, 255, 255, 1), | ||
10px 10px 10px rgba(0, 0, 0, 0.1), | ||
inset -10px -10px 15px rgba(255, 255, 255, 0.5), | ||
inset 10px 10px 10px rgba(0, 0, 0, 0.1); | ||
} | ||
|
||
.loader::before { | ||
content: ""; | ||
position: absolute; | ||
top: 25px; | ||
left: 25px; | ||
right: 25px; | ||
bottom: 25px; | ||
background: #f1f1f1; | ||
border-radius: 50%; | ||
border: 4px solid #f1f1f1; | ||
box-shadow: inset -10px -10px 15px rgba(255, 255, 255, 0.5), | ||
inset 10px 10px 10px rgba(0, 0, 0, 0.1); | ||
} | ||
|
||
.loader span { | ||
position: absolute; | ||
width: 100%; | ||
height: 100%; | ||
border-radius: 50%; | ||
background: linear-gradient(#14ffe9, #ffeb3b, #ff00e0); | ||
z-index: -1; | ||
filter: blur(20px); | ||
animation: animate 0.5s linear infinite; | ||
} | ||
|
||
@keyframes animate { | ||
0% { | ||
transform: rotate(0deg); | ||
} | ||
100% { | ||
transform: rotate(360deg); | ||
} | ||
} | ||
|
||
footer { | ||
position: relative; | ||
top: 19rem; | ||
right: 709px; | ||
} | ||
|
||
footer a { | ||
text-decoration: none; | ||
color: blue; | ||
} |
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