Loading animation css
code👇🏻
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<style>
body {
background: black;
box-sizing: border-box;
}
div {
margin-top: 50%;
}
.rotate {
width: 200px;
height: 200px;
background: transparent;
border-radius: 50%;
border-top: 5px solid blue;
animation: rotate 1s ease-in-out infinite;
}
h5 {
color: white;
letter-spacing: 13px;
margin-top: -110px;
margin-left: 20px;
}
a {
text-decoration: none;
display: block;
font-weight: bold;
background-color: black;
color: white;
letter-spacing: 5px;
padding: 3% 8%;
border-radius: 200px 0 200px 0;
border: 2px solid blue;
position: absolute;
top: 85%;
left: 27%;
}
a:hover {
color: red;
}
@keyframes rotate {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
</style>
</head>
<body>
<center>
<div class="rotate">
</div>
<h5>LOADING</h5> <a href="https://youtube.com/@codexpranav">YOUTUBE</a>
</center>
</body>
</html>