-
Notifications
You must be signed in to change notification settings - Fork 6
/
thanks.html
136 lines (121 loc) · 2.91 KB
/
thanks.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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<!DOCTYPE html>
<html>
<head>
<title>Thank You!</title>
<style type="text/css">
@import url(http://fonts.googleapis.com/css?family=Open+Sans+Condensed:700);
*, *:before, *:after { box-sizing: border-box; }
html { background: radial-gradient(ellipse at top, #40485a 0%, #282e3a 60%); height: 100%; width: 100%; }
body { height: 100%; width: 100%; overflow:hidden;}
#envelope{
margin: 100px auto 0;
position: relative;
width: 0;
height: 0;
z-index: 0;
border-style: solid;
border-width: 0 150px 100px 150px;
border-color: transparent transparent #256a98 transparent;
box-shadow: 0 100px 0 0 #256a98,
0 150px 90px 0 rgba(0,0,0,0.3);
}
#envelope:after,
#envelope:before{
content:'';
display: block;
position: absolute;
top: 100px;
border-style: solid;
}
#envelope:after{
width: 0;
height: 0;
left: 0;
border-width: 100px 150px 100px 0;
border-color: transparent #2a7fb5 transparent transparent;
}
#envelope:before{
width: 210px;
height: 180px;
left:-150px;
border-width: 200px 0 0 300px;
border-color: transparent transparent transparent #3596da;
}
#envelope:hover #card {
top:-20px;
}
#card{
width:260px;
height: 220px;
position: absolute;
top:70px;
left:-130px;
z-index: -1;
background: #dcdcdc;
border-radius: 5px;
transition: top 0.5s ease-in-out;
font: bold 1.2em/1.1em 'Open Sans Condensed', sans-serif;
text-align: center;
letter-spacing: 0.06em;
text-transform: uppercase;
padding: 130px 0 0 0;
color: #919499;
}
#card p {
width: 150px;
margin: 0 auto;
}
#seal{
top: 25px;
left: 90px;
right: -25px;
background: #ef5b93;
height: 80px;
width: 80px;
border: 5px solid #c5376d;
border-radius: 100%;
overflow: hidden;
position: absolute;
box-shadow: 0 0 0 5px #eee,
inset -20px -60px 0 -22px #ef5b93;
}
.checkmark {
width: 56px;
height: 56px;
border-radius: 50%;
display: block;
stroke-width: 4;
stroke: #fff;
stroke-miterlimit: 10;
margin: 10% auto;
}
.checkmark__check {
transform-origin: 50% 50%;
stroke-dasharray: 48;
stroke-dashoffset: 48;
animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}
@keyframes stroke {
100% {
stroke-dashoffset: 0;
}
}
</style>
</head>
<body>
<div id='envelope'>
<div id='card'>
<p>
Thank You! Mail Received.
</p>
<div id='seal'>
<div id="tick">
<svg class="checkmark" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 52 52">
<path class="checkmark__check" fill="none" d="M14.1 27.2l7.1 7.2 16.7-16.8"/>
</svg>
</div>
</div>
</div>
</div>
</body>
</html>