-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
64 lines (61 loc) · 1.31 KB
/
style.css
File metadata and controls
64 lines (61 loc) · 1.31 KB
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
@import url('https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900');
*
{
margin: 0;
padding: 0;
font-family: 'Poppins';
}
body{
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: #222;
overflow: hidden;
}
.container{
display: flex;
justify-items: center;
align-items: center;
}
.container .box
{
transform-style: preserve-3d;
animation: animate 25s linear infinite;
}
@keyframes animate
{
0%
{
transform: perspective(1000px) rotateX(0deg) rotate(20deg);
}
100%
{
transform: perspective(1000px) rotateX(360deg) rotate(20deg);
}
}
.container .box span
{
position: absolute;
color: #fff;
font-size: 3.5em;
white-space: nowrap;
text-transform: uppercase;
font-weight:900;
padding: 0 10px;
background: linear-gradient(90deg, transparent, rgba(0,0,0,0.5), transparent);
line-height: 0.76em;
transform-style: preserve-3d;
text-shadow: 0 5px 15px rgba(0,0,0,0.25);
transform: translate(-50%,-50%) rotateX(calc(var(--i) * 22.5deg)) translateZ(106px);
}
.container .box span i:nth-child(1)
{
font-style: initial;
color: #ff246f;
}
.container .box span i:nth-child(2)
{
font-style: initial;
color: #12b5ff;
}