Untitled

mail@pastecode.io avatar
unknown
plain_text
8 days ago
804 B
0
Indexable
Never
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Loading Circle Animation</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
  <div class="loader"></div>
</body>
</html>


----------------------------------------------


body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
  }
  
  .loader {
    border: 8px solid #f0f0f0;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
Leave a Comment