Skip to content

Commit 7e6aec2

Browse files
authored
Add files via upload
1 parent 89d6f94 commit 7e6aec2

File tree

3 files changed

+45
-0
lines changed

3 files changed

+45
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<!DOCTYPE html>
2+
<html lang="en" >
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>CodePen - Super Simple CSS Spinner</title>
6+
<link rel="stylesheet" href="./style.css">
7+
8+
</head>
9+
<body>
10+
<!-- partial:index.partial.html -->
11+
<h1>Super simple CSS spinner</h1>
12+
<div id="loading"></div>
13+
<!-- partial -->
14+
<script src="./script.js"></script>
15+
16+
</body>
17+
</html>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// recreating https://codepen.io/scottkellum/pen/tzjCK
2+
// just to learn how he did it
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
@import url(https://fonts.googleapis.com/css?family=Roboto:100);
2+
3+
body { margin-top: 100px; background-color: #137b85; color: #fff; text-align:center; }
4+
5+
h1 {
6+
font: 2em 'Roboto', sans-serif;
7+
margin-bottom: 40px;
8+
}
9+
10+
#loading {
11+
display: inline-block;
12+
width: 50px;
13+
height: 50px;
14+
border: 3px solid rgba(255,255,255,.3);
15+
border-radius: 50%;
16+
border-top-color: #fff;
17+
animation: spin 1s ease-in-out infinite;
18+
-webkit-animation: spin 1s ease-in-out infinite;
19+
}
20+
21+
@keyframes spin {
22+
to { -webkit-transform: rotate(360deg); }
23+
}
24+
@-webkit-keyframes spin {
25+
to { -webkit-transform: rotate(360deg); }
26+
}

0 commit comments

Comments
 (0)