-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.html
88 lines (87 loc) · 1.78 KB
/
test.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
<div class="form-wrapper">
<form action="http://127.0.0.1:9387/$submit" method="POST">
<div class="form-contact">
<input
class="form-input"
style="margin-right: 1em"
type="text"
name="name"
placeholder="Name"
required
/>
<input
class="form-input"
style="margin-right: 1em"
type="email"
name="email"
placeholder="Email"
required
/>
<input
class="form-input"
type="text"
name="company"
placeholder="Company"
required
/>
</div>
<div class="form-info">
<input
class="form-input"
type="text"
name="subject"
placeholder="Subject"
required
/>
<textarea
class="form-text"
rows="10"
name="message"
placeholder="Message"
required
></textarea>
<br /><button class="form-button" type="submit">Send</button>
</div>
</form>
</div>
<style>
.form-wrapper {
display: flex;
justify-content: center;
align-items: center;
}
.form-contact {
display: flex;
flex-direction: row;
align-content: stretch;
}
.form-info {
display: flex;
flex-direction: column;
align-content: stretch;
}
.form-input {
padding: 1em 1.5em;
border: 1px solid #e5e5e5;
border-radius: 1rem;
margin-bottom: 1em;
resize: none;
}
.form-text {
padding: 1em 1.5em;
border: 1px solid #e5e5e5;
border-radius: 1rem;
resize: none;
}
.form-button {
padding: 1em 1.5em;
border: 1px solid #e5e5e5;
border-radius: 1rem;
background-color: #e5e5e5;
}
.form-button:hover {
border: 1px solid #ff5277;
background-color: #ff5277;
cursor: pointer;
}
</style>