-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #191 from kiruba-r11/feature-1
Added Loading Animation
- Loading branch information
Showing
27 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!DOCTYPE html> | ||
<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>Loading Animation</title> | ||
|
||
<!-- CSS --> | ||
<link rel="stylesheet" href="styles.css"> | ||
</head> | ||
<body> | ||
|
||
<div class="main-container"> | ||
<div class="rotate-container"></div> | ||
<h1>Loading</h1> | ||
</div> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
body { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100vh; | ||
width: 100vw; | ||
background-color: black; | ||
} | ||
|
||
.main-container { | ||
position: relative; | ||
} | ||
|
||
.rotate-container { | ||
width: 150px; | ||
height: 150px; | ||
border-radius: 50%; | ||
border-right: 4px solid white; | ||
animation: rot 2s linear infinite; | ||
} | ||
h1 { | ||
position: absolute; | ||
color: white; | ||
top: 50%; | ||
left: 50%; | ||
transform: translate(-50% , -50%); | ||
font-size: 1.5rem; | ||
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; | ||
letter-spacing: 2px; | ||
font-weight: 400; | ||
} | ||
|
||
@keyframes rot { | ||
0% { | ||
|
||
} | ||
25% { | ||
transform: rotate(90deg); | ||
} | ||
50% { | ||
transform: rotate(180deg); | ||
} | ||
75% { | ||
transform: rotate(270deg); | ||
} | ||
100% { | ||
transform: rotate(360deg); | ||
} | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.