elegant loading screens using HTML and CSS can enhance user experience by adding a touch of professionalism and style to your website. you can copy code or download
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Rotating Gradient Circle</title>
<style>
body, html {
height: 100%;
margin: 0;
display: flex;
justify-content: center;
align-items: center;
background-color: #282c34;
}
.loading-circle {
width: 80px;
height: 80px;
border-radius: 50%;
background: conic-gradient(#8B8149, #D4D5D9, #384d48);
animation: rotate 1.5s linear infinite;
}
@keyframes rotate {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
</style>
</head>
<body>
<div class="loading-circle"></div>
</body>
</html>