Skip to content

Added circular progress bar loader #726

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
12 changes: 12 additions & 0 deletions circular-progress-bar-loader/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Circle of Circles</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="circle-container"></div>
</body>
</html>
33 changes: 33 additions & 0 deletions circular-progress-bar-loader/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
body {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}

.circle-container {
height: 60px;
width: 60px;
border-radius: 50%;
border: 25px dotted black;
animation: spin 1.5s ease-in infinite normal;
}

@keyframes spin {
0% {
border: 25px dotted rgb(1, 1, 1);
transform: rotate(0deg);
}
25% {
border: 25px dotted #3e3b39;
}
50% {
border: 25px dotted #a7a7a7;
}
75% {
border: 25px dotted #b7b7b7;
}
100% {
transform: rotate(360deg);
}
}