Ajax Loader
×
HTML
<div id="core">
1
<div id="core">
2
  <p id="mrjopino">
3
    <span id="texto">@mrjopino</span>
4
  </p>
5
</div>
 
CSS
html {
1
html {
2
  overflow: hidden; 
3
  height: 100%;
4
  font-family: Geneva, sans-serif;
5
  background: hsl(210, 30%, 0%) radial-gradient( hsl(210, 30%, 20%), hsl(210, 30%, 0%));
6
 
7
}
8
 
9
body {
10
  margin: 0;
11
  width: 100%;
12
  height: 100%;
13
  text-align: center;
14
  display: flex;
15
  justify-content: center;
16
  align-items: center;
17
}
18
 
19
p {
20
    margin: 0;
21
}
22
 
23
#core {
24
  padding: 100px;
25
  text-align: center;
26
  min-width: 500px;
27
  font-size: 3em;
28
  font-weight: bold;
29
  -webkit-backface-visibility: hidden; /* fixes flashing */
30
}
31
 
32
 
33
#mrjopino {
34
  color: hsla(0,0%,0%,0);
35
  perspective: 80px;
36
  outline: none;
37
}
38
 
39
 
40
#texto {
41
  display: inline-block;
42
  text-shadow: #bbb 0 0 1px, #fff 0 -1px 2px, #fff 0 -3px 2px, rgba(0,0,0,0.8) 0 30px 25px;
43
  transition: margin-left 0.3s cubic-bezier(0, 1, 0, 1);
44
}
45
 
46
/* MOvimiento */
47
#core:hover #texto {
48
  margin-left: 20px;
49
  transition: margin-left 1s cubic-bezier(0, 0.75, 0, 1);
50
}
51
 
52
 
53
 
 

@mrjopino

CSSDeck G+