forked from KillaShank/comingsoonpage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
82 lines (70 loc) · 1.52 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
div.foo{
width: 90%;
margin: 0 auto;
text-align: center;
}
.letter{
display: inline-block;
font-weight: 6--;
font-size: 6em;
position: relative;
color: #F84982;
transform-style: preserve-3d;
perspective: 400;
z-index: 1;
}
.letter:before, .letter:after{
position:absolute;
content: attr(data-letter);
transform-origin: top left;
top:0;
left:0;
}
.letter, .letter:before, .letter:after{
transition: all 0.3s ease-in-out;
}
.letter:before{
color: #fff;
text-shadow:
-1px 0px 1px rgba(255,255,255,.8),
1px 0px 1px rgba(0,0,0,.8);
z-index: 3;
transform:
rotateX(0deg)
rotateY(-15deg)
rotateZ(0deg);
}
.letter:after{
color: rgba(0,0,0,.11);
z-index:2;
transform:
scale(1.08,1)
rotateX(0deg)
rotateY(0deg)
rotateZ(0deg)
skew(0deg,1deg);
}
.letter:hover:before{
color: #fafafa;
transform:
rotateX(0deg)
rotateY(-40deg)
rotateZ(0deg);
}
.letter:hover:after{
transform:
scale(1.08,1)
rotateX(0deg)
rotateY(40deg)
rotateZ(0deg)
skew(0deg,22deg);
}
.display-table{ display: table; height: 100%; width: 100%; }
.display-table-cell{ display: table-cell; vertical-align: middle; }
::-webkit-input-placeholder { font-size: .9em; letter-spacing: 1px; }
::-moz-placeholder { font-size: .9em; letter-spacing: 1px; }
:-ms-input-placeholder { font-size: .9em; letter-spacing: 1px; }
:-moz-placeholder { font-size: .9em; letter-spacing: 1px; }
.full-height{ height: 100%; }
.position-static{ position: static; }
.font-white{ color: #fff; }