-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnewsletter.html
123 lines (112 loc) · 2.77 KB
/
newsletter.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
<!DOCTYPE html>
<html>
<head>
<title>Newsletter Form</title>
<!-- Font Awesome Library -->
<script
src="https://kit.fontawesome.com/739e3ae0dc.js"
crossorigin="anonymous"
></script>
<style>
body {
background-color: #2b2735;
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
}
.container {
width: 600px;
max-width: 600px;
padding: 20px;
background-color: #1c1923;
border-radius: 10px;
box-sizing: border-box;
color: #fff;
box-shadow: 0px 2px 5px black;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
h2 {
font-size: 24px;
margin-bottom: 20px;
}
.input-container {
display: flex;
margin-bottom: 10px;
}
.email {
background-color: #2b2735;
border-radius: 50px;
}
.input-container input {
flex: 1;
padding: 10px;
border: none;
border-radius: 10px;
}
.subscribe-button {
background-color: transparent;
color: #fff;
border: 2px solid rgb(254, 52, 52);
border-radius: 10px 50px 50px 10px;
padding: 10px 20px;
font-size: 20px;
cursor: pointer;
width: 30%;
transition: width 0.3s ease;
}
.subscribe-button:hover {
width: 33%;
}
.email:only-of-type {
border: 2px solid rgb(254, 52, 52);
color: white;
font-size: 20px;
}
.header {
text-align: center;
color: #e94a64;
display: flex;
justify-content: center;
top: 500px;
background-color: #1c1923;
}
.backpage {
text-decoration: none;
color: #e94a64;
}
</style>
</head>
<body>
<header class="header">
<h1><a class="backpage" href="index.html">CustomBAR</a></h1>
</header>
<div class="container">
<h2>Subscribe to our Newsletter</h2>
<form
action="https://formsubmit.co/2d0f755e91b8dba99d627a258576c7f6"
method="post"
>
<!-- Replace with your server-side script -->
<div class="input-container">
<input
class="email"
type="email"
name="email"
placeholder="Get Latest Updates via Your Email Address"
/>
</div>
<ol type="1">
<p>Benefits for Subscribing</p>
<li>Stay updated with New Releases of CustomBAR</li>
</ol>
<button class="subscribe-button" type="submit">
<i class="fa-regular fa-envelope" style="color: #ffffff"></i>
Subscribe
</button>
</form>
</div>
</body>
</html>