Ajax Loader
×
HTML
<div id="blok">
1
<div id="blok">
2
  <div id="center">Tap It.</div>
3
</div>
4
<div id="footer">
5
</div>
 
CSS
#blok {
1
#blok {
2
  background-color: lightblue;
3
  width: 400px;
4
  height: 400px;
5
  padding: 20px;
6
  position: absolute;
7
  left: 50%;
8
  margin-left: -200px;
9
  top: 50%;
10
  margin-top: -200px;
11
  border-radius: 50%;
12
  background: linear-gradient(220deg, magenta 10%, red 60%, orange);
13
}
14
 
15
#center {
16
  border-radius: 50%;
17
  width: 200px;
18
  height: 200px;
19
  background-color: #fff;
20
  position: absolute;
21
  top: 50%;
22
  left: 50%;
23
  margin-left: -100px;
24
  margin-top: -100px;
25
  text-align: center;
26
  line-height: 200px;
27
  font-size: 2em;
28
  font-style: italic;
29
  font-weight: lighter;
30
  transition: background-color .5s, color 5s .3s;
31
  color: pink;
32
  background-color: black;
33
}
34
 
35
#center:hover {
36
  background-color: #eee;
37
  color: red;
38
}
39
 
40
#footer {
41
  background-color: black;
42
  position: absolute;
43
  bottom: 0;
44
  height: 40px;
45
  width: 100%;
46
}
 

Untitled

CSSDeck G+