JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE html>
<!-- Coding by CodingLab || www.codinglabweb.com -->
<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 Loading Spinner</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="wrapper">
<div id="link">
<a href="https://piratesdmcaservice.com/">Enter</a>
</div>
</div>
<span></span>
</div>
<div id="title"><h2>Pirate's DMCA Service</h2>
</div>
</body>
</html>
CSS
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background-color: #f1f1f1;
}
#title {
float: left;
vertical-align:top;
height: 700px;
width: center;
position: absolute;
font-family: comic sans ms;
}
#link {
font-family: comic sans ms;
font-size: 20px;
z-index:10000;
}
.wrapper {
position: relative;
display: flex;
align-items: center;
justify-content: center;
height: 300px;
width: 300px;
border-radius: 50%;
box-shadow: inset -10px -10px 15px rgba(255, 255, 255, 1),
inset 10px 10px 10px rgba(0, 0, 0, 0.1);
}
.wrapper::before {
content: "";
position: absolute;
height: 200px;
width: 200px;
border-radius: 50%;
box-shadow: -10px -10px 15px rgba(255, 255, 255, 1),
10px 10px 10px rgba(0, 0, 0, 0.1);
}
span {
height: 186px;
width: 220px;
position: absolute;
animation: rotate 5s linear infinite;
}
@keyframes rotate {
100% {
transform: rotate(360deg);
}
}
span::before {
content: "";
position: absolute;
height: 30px;
border-radius: 50%;
width: 30px;
background: linear-gradient(45deg, #336dff, #5c89ff);
box-shadow: 0 5px 10px rgb(0 0 0 / 30%);
}