This repository has been archived by the owner on Jan 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
114 lines (114 loc) · 2.46 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Fuse Org</title>
<style>
p {
color: #fff;
font-family: Avenir Next, Helvetica Neue, Helvetica, Tahoma, sans-serif;
font-size: 1em;
font-weight: 700;
}
p span {
display: inline-block;
position: relative;
-webkit-transform-style: preserve-3d;
transform-style: preserve-3d;
-webkit-perspective: 500;
perspective: 500;
-webkit-font-smoothing: antialiased;
}
p span::before,
p span::after {
display: none;
position: absolute;
top: 0;
left: -1px;
-webkit-transform-origin: left top;
transform-origin: left top;
-webkit-transition: all ease-out 0.3s;
transition: all ease-out 0.3s;
content: attr(data-text);
}
p span::before {
z-index: 1;
color: rgba(0,0,0,0.2);
-webkit-transform: scale(1.1, 1) skew(0deg, 20deg);
transform: scale(1.1, 1) skew(0deg, 20deg);
}
p span::after {
z-index: 2;
color: #684da3;
text-shadow: -1px 0 1px #684da3, 1px 0 1px rgba(0,0,0,0.8);
-webkit-transform: rotateY(-40deg);
transform: rotateY(-40deg);
}
p span:hover::before {
-webkit-transform: scale(1.1, 1) skew(0deg, 5deg);
transform: scale(1.1, 1) skew(0deg, 5deg);
}
p span:hover::after {
-webkit-transform: rotateY(-10deg);
transform: rotateY(-10deg);
}
p span + span {
margin-left: 0.3em;
}
@media (min-width: 20em) {
p {
font-size: 2em;
}
p span::before,
p span::after {
display: block;
}
}
@media (min-width: 30em) {
p {
font-size: 3em;
}
}
@media (min-width: 40em) {
p {
font-size: 5em;
}
}
@media (min-width: 60em) {
p {
font-size: 8em;
}
}
html,
body {
margin: 0;
padding: 0;
height: 100%;
}
body {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
background-color: #684da3;
}
</style>
</head>
<body>
<p aria-label="CodePen">
<span data-text="F">F</span>
<span data-text="U">U</span>
<span data-text="S">S</span>
<span data-text="E">E</span>
<span data-text=" "> </span>
<span data-text="O">O</span>
<span data-text="R">R</span>
<span data-text="G">G</span>
</p>
</body>
</html>