-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdemo.html
105 lines (100 loc) · 3.56 KB
/
demo.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
<!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>Demo Apps</title>
<link
href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css"
rel="stylesheet"
type="text/css"
/>
</head>
<style>
.loader {
border-top-color: #ef4444;
-webkit-animation: spinner 1.5s linear infinite;
animation: spinner 1.5s linear infinite;
}
@-webkit-keyframes spinner {
0% {
-webkit-transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
}
}
@keyframes spinner {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
</style>
<body>
<section class="text-gray-600 body-font">
<form action="https://formsubmit.co/[email protected]" method="POST">
<div class="container px-5 py-24 mx-auto">
<div class="flex flex-col text-center w-full mb-12">
<h1
class="sm:text-3xl text-2xl font-medium title-font mb-4 text-gray-900"
>
hello world
</h1>
<p class="lg:w-2/3 mx-auto leading-relaxed text-base">
Thank you for visiting our website. Let me know if you have
something to say
</p>
</div>
<div class="relative flex-grow w-full">
<label for="email" class="leading-7 text-sm text-gray-600"
>Email</label
>
<input
type="email"
id="email"
name="email"
class="w-full bg-white bg-opacity-50 rounded border border-gray-300 focus:border-red-500 focus:bg-transparent focus:ring-2 focus:ring-red-200 text-base outline-none text-gray-700 py-1 px-3 leading-8 transition-colors duration-200 ease-in-out"
/>
</div>
<div class="relative flex-grow w-full">
<label for="subject" class="leading-7 text-sm text-gray-600"
>Subject</label
>
<input
type="text"
id="subject"
name="subject"
class="w-full bg-white bg-opacity-50 rounded border border-gray-300 focus:border-red-500 focus:bg-transparent focus:ring-2 focus:ring-red-200 text-base outline-none text-gray-700 py-1 px-3 leading-8 transition-colors duration-200 ease-in-out"
/>
</div>
<div class="relative flex-grow w-full">
<label for="message" class="leading-7 text-sm text-gray-600"
>Message</label
>
<textarea
type="text"
id="message"
name="message"
class="w-full bg-white bg-opacity-50 rounded border border-gray-300 focus:border-red-500 focus:bg-transparent focus:ring-2 focus:ring-red-200 text-base outline-none text-gray-700 py-1 px-3 leading-8 transition-colors duration-200 ease-in-out"
></textarea>
</div>
<div class="w-full h-4"></div>
<button
type="submit"
class="mt-4 w-full text-white bg-red-500 border-0 py-2 px-8 focus:outline-none hover:bg-red-600 rounded text-lg"
>
Send my message
</button>
<div
class="loader ease-linear mt-5 rounded-full border-4 border-t-4 border-gray-200 h-6 w-6 mx-auto"
></div>
</div>
</div>
</form>
</section>
</body>
</html>