xxxxxxxxxx
1
<section class="intro">
2
<div class="mask d-flex align-items-center h-100 gradient-custom">
3
<div class="container">
4
<div class="row justify-content-center">
5
<div class="col-12 col-lg-9 col-xl-7">
6
<div class="card">
7
<div class="card-body p-4 p-md-5">
8
<h3 class="mb-4 pb-2">Registration Form</h3>
9
10
<form action="">
11
12
<div class="row">
13
<div class="col-md-6 mb-4">
14
15
<div class="form-outline">
16
<input type="text" id="firstName" class="form-control" />
17
<label class="form-label" for="firstName">First Name</label>
18
</div>
19
20
</div>
21
<div class="col-md-6 mb-4">
22
23
<div class="form-outline">
24
<input type="text" id="lastName" class="form-control" />
25
<label class="form-label" for="lastName">Last Name</label>
26
</div>
27
28
</div>
29
</div>
30
31
<div class="row">
32
<div class="col-md-6 mb-4">
33
34
<div class="form-outline datepicker">
35
<input
36
type="text"
37
class="form-control"
38
id="birthdayDate"
39
/>
40
<label for="birthdayDate" class="form-label">Birthday</label>
41
</div>
42
43
</div>
44
<div class="col-md-6 mb-4">
45
46
<h6 class="mb-2 pb-1">Gender: </h6>
47
48
<div class="form-check form-check-inline">
49
<input
50
class="form-check-input"
51
type="radio"
52
name="inlineRadioOptions"
53
id="femaleGender"
54
value="option1"
55
/>
56
<label class="form-check-label" for="femaleGender">Female</label>
57
</div>
58
59
<div class="form-check form-check-inline">
60
<input
61
class="form-check-input"
62
type="radio"
63
name="inlineRadioOptions"
64
id="maleGender"
65
value="option2"
66
/>
67
<label class="form-check-label" for="maleGender">Male</label>
68
</div>
69
70
<div class="form-check form-check-inline">
71
<input
72
class="form-check-input"
73
type="radio"
74
name="inlineRadioOptions"
75
id="otherGender"
76
value="option3"
77
/>
78
<label class="form-check-label" for="otherGender">Other</label>
79
</div>
80
81
</div>
82
</div>
83
84
<div class="row">
85
<div class="col-md-6 mb-4">
86
87
<div class="form-outline">
88
<input type="email" id="emailAddress" class="form-control" />
89
<label class="form-label" for="emailAddress">Email</label>
90
</div>
91
92
</div>
93
<div class="col-md-6 mb-4">
94
95
<div class="form-outline">
96
<input type="tel" id="phoneNumber" class="form-control" />
97
<label class="form-label" for="phoneNumber">Phone Number</label>
98
</div>
99
100
</div>
101
</div>
102
103
<div class="row">
104
<div class="col-12">
105
106
<h6 class="mb-3">Subject</h6>
107
108
<select class="select" multiple>
109
<option value="1">One</option>
110
<option value="2">Two</option>
111
<option value="3">Three</option>
112
<option value="4">Four</option>
113
<option value="5">Five</option>
114
<option value="6">Six</option>
115
<option value="7">Seven</option>
116
<option value="8">Eight</option>
117
</select>
118
<label class="form-label select-label">Choose option</label>
119
120
<div class="mt-4">
121
<input class="btn btn-warning btn-lg" type="submit" value="Submit" />
122
</div>
123
124
</div>
125
</div>
126
127
</form>
128
</div>
129
</div>
130
</div>
131
</div>
132
</div>
133
</div>
134
</section>
xxxxxxxxxx
1
.intro {
2
height: 100%;
3
}
4
5
.gradient-custom {
6
/* fallback for old browsers */
7
background: #fa709a;
8
9
/* Chrome 10-25, Safari 5.1-6 */
10
background: -webkit-linear-gradient(to bottom right, rgba(250, 112, 154, 1), rgba(254, 225, 64, 1));
11
12
/* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
13
background: linear-gradient(to bottom right, rgba(250, 112, 154, 1), rgba(254, 225, 64, 1))
14
}
1
1
Console errors: 0