forked from Bharat-Shaw/1mg-clone
-
Notifications
You must be signed in to change notification settings - Fork 2
/
thankyoupage.html
132 lines (124 loc) · 2.75 KB
/
thankyoupage.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Thank You</title>
<link rel="icon" type="image/x-icon" href="https://www.1mg.com/faviconRebrand.ico">
<style>
*{
box-sizing:border-box;
/* outline:1px solid ;*/
}
body{
background: #ffffff;
background: linear-gradient(to bottom, #ffffff 0%,#e1e8ed 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e1e8ed',GradientType=0 );
height: 100%;
margin: 0;
background-repeat: no-repeat;
background-attachment: fixed;
}
.wrapper-1{
width:100%;
height:100vh;
display: flex;
flex-direction: column;
}
.wrapper-2{
padding :30px;
text-align:center;
}
h1{
font-family: 'Kaushan Script', cursive;
font-size:4em;
letter-spacing:3px;
color:#ff6f61 ;
margin:0;
margin-bottom:20px;
}
.wrapper-2 p{
margin:0;
font-size:1.3em;
color:#aaa;
font-family: 'Source Sans Pro', sans-serif;
letter-spacing:1px;
}
.go-home{
color:#fff;
background:#ff6f61;
border:none;
padding:10px 50px;
margin:30px 0;
border-radius:30px;
text-transform:capitalize;
box-shadow: 0 10px 16px 1px rgb(237, 178, 191);
}
.footer-like{
margin-top: auto;
background:#D7E6FE;
padding:6px;
text-align:center;
}
.footer-like p{
margin:0;
padding:4px;
color:#ff6f61;
font-family: 'Source Sans Pro', sans-serif;
letter-spacing:1px;
}
.footer-like p a{
text-decoration:none;
color:#ff6f61;
font-weight:600;
}
@media (min-width:360px){
h1{
font-size:4.5em;
}
.go-home{
margin-bottom:20px;
}
}
@media (min-width:600px){
.content{
max-width:1000px;
margin:0 auto;
}
.wrapper-1{
height: initial;
max-width:620px;
margin:0 auto;
margin-top:50px;
box-shadow: 4px 8px 40px 8px rgba(88, 146, 255, 0.2);
}
}
</style>
</head>
<body>
<div class=content>
<div class="wrapper-1">
<div class="wrapper-2">
<h1>Thank you for your Purchase !</h1>
<p>Thanks for buying with us. </p>
<p>you should receive a confirmation email soon </p>
<button class="go-home" >
go home
</button>
</div>
<div class="footer-like">
<p>Email not received?
<a href="#">Click here to send again</a>
</p>
</div>
</div>
</div>
<link href="https://fonts.googleapis.com/css?family=Kaushan+Script|Source+Sans+Pro" rel="stylesheet">
</body>
</html>
<script>
document.querySelector(".go-home").addEventListener("click", function(){
window.location.href = "index.html";
})
</script>