-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtext.html
61 lines (55 loc) · 1.38 KB
/
text.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
<html>
<head>
<style type="text/css">
body {
width: 200vw;
height: 100vw;
background: linear-gradient(165deg, #527785 0%, #7FB4C7 100%);
padding: 1%;
}
.cloud {
font-size:150px;
font-style:oblique;
font-weight: 900;
position: absolute;
top: -42vh;
left: -31vw;
}
#cloud-back {
filter: url(#filter-back);
text-shadow:420px 240px 10px #fff;
}
#cloud-mid {
filter: url(#filter-mid);
text-shadow:410px 250px 12px rgba(158, 168, 179, 0.3);
}
#cloud-front {
filter: url(#filter-front);
text-shadow:410px 250px 14px rgba(0, 0, 0, 0.2);
}
</style>
</head>
<body>
<div class="cloud" id="cloud-back">天边一片云</div>
<div class="cloud" id="cloud-mid">天边一片云</div>
<div class="cloud" id="cloud-front">天边一片云</div>
<svg width="0" height="0">
<!--Top Layer-->
<filter id="filter-back">
<feTurbulence type="fractalNoise" baseFrequency="0.012" numOctaves="4"
seed="0" />
<feDisplacementMap in="SourceGraphic" scale="40" />
</filter>
<filter id="filter-mid">
<feTurbulence type="fractalNoise" baseFrequency="0.012" numOctaves="2"
seed="0"/>
<feDisplacementMap in="SourceGraphic" scale="45" />
</filter>
<filter id="filter-front">
<feTurbulence type="fractalNoise" baseFrequency="0.012" numOctaves="2"
seed="0"/>
<feDisplacementMap in="SourceGraphic" scale="50" />
</filter>
</svg>
</body>
</html>