-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
154 lines (127 loc) · 2.46 KB
/
main.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
html,
body {
margin: 0;
height: 100%;
width: 100%;
overflow: hidden;
}
.center-contents {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.G {
color: #f93e3e;
}
.K {
color: #006280;
}
.letter {
font-size: 140px;
font-family: 'Passion One', cursive;
display: inline-block;
padding: 24px 6px 24px 12px;
}
.back a {
font-size: 30px;
padding: 80px 40px;
text-decoration: none;
display: block;
font-family: 'Passion One', cursive;
color: #f93e3e;
}
.logo .border {
/* content: ''; */
position: absolute;
width: 350px;
height: 350px;
background: transparent;
border-radius: 50%;
border: 2px dashed #403f3f;
-webkit-animation-name: Rotate;
-webkit-animation-duration: 3s;
-webkit-animation-iteration-count: infinite;
-webkit-animation-timing-function: linear;
-moz-animation-name: Rotate;
-moz-animation-duration: 3s;
-moz-animation-iteration-count: infinite;
-moz-animation-timing-function: linear;
-ms-animation-name: Rotate;
-ms-animation-duration: 3s;
-ms-animation-iteration-count: infinite;
-ms-animation-timing-function: linear;
transform: translate(-50%, -50%);
}
.play {
padding: 20px 30px;
font-size: 56px;
}
.stop {
font-size: 12px;
padding: 30px;
text-align: center;
}
@-webkit-keyframes Rotate {
from {
-webkit-transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
}
}
@-moz-keyframes Rotate {
from {
-moz-transform: rotate(0deg);
}
to {
-moz-transform: rotate(360deg);
}
}
@-ms-keyframes Rotate {
from {
-ms-transform: rotate(0deg);
}
to {
-ms-transform: rotate(360deg);
}
}
/*************************************************************
* flip container
*/
.relative {
position: relative;
}
.flip-container {
perspective: 1000px;
}
.flip-container:hover .flipper,
.flip-container.hover .flipper {
transform: rotateY(180deg);
}
.flip-container,
.front,
.back {
width: 200px;
height: 200px;
}
.flipper {
transition: 0.6s;
transform-style: preserve-3d;
position: relative;
}
.front,
.back {
backface-visibility: hidden;
position: absolute;
top: 0;
left: 0;
box-shadow: 0px 0px 11px #454545;
}
.front {
z-index: 2;
transform: rotateY(0deg);
}
.back {
transform: rotateY(180deg);
}