HTML
xxxxxxxxxx
1
<section class="intro">
2
<div class="bg-image h-100" style="
3
background-image: url(https://mdbootstrap.com/img/Photos/new-templates/search-box/img6.jpg);
4
">
5
<div class="mask d-flex align-items-center h-100" style="background-color: rgba(0,0,0,.43);">
6
<div class="container">
7
<div class="row">
8
<div class="col-md-10 col-lg-8 col-xl-7 mx-auto">
9
<div class="card mb-2">
10
<div class="card-body p-2">
11
<div class="input-group input-group-lg">
12
<input type="text" class="form-control form-control-lg rounded" placeholder="Type Keywords"
13
aria-label="Type Keywords" aria-describedby="basic-addon2" />
14
<span class="input-group-text border-0" id="basic-addon2"><i class="fas fa-search"></i></span>
15
</div>
16
</div>
17
</div>
18
<div class="card bg-black">
19
<div class="card-body p-4">
20
<h6 class="text-white mt-3 mb-4">Advanced search</h6>
21
<div class="row">
22
<div class="col-md-4 mb-3">
23
<div class="dropdown">
24
<a class="btn btn-outline-light btn-lg btn-block dropdown-toggle" href="#" role="button"
25
id="dropdownMenuLink" data-mdb-toggle="dropdown" aria-expanded="false">
26
Accessories
27
</a>
28
<ul class="dropdown-menu" aria-labelledby="dropdownMenuLink">
29
<li><a class="dropdown-item" href="#">Action</a></li>
30
<li><a class="dropdown-item" href="#">Another action</a></li>
31
<li><a class="dropdown-item" href="#">Something else here</a></li>
32
</ul>
33
</div>
34
</div>
35
<div class="col-md-4 mb-3">
36
<div class="dropdown">
37
<a class="btn btn-outline-light btn-lg btn-block dropdown-toggle" href="#" role="button"
38
id="dropdownMenuLink1" data-mdb-toggle="dropdown" aria-expanded="false">
39
Color
40
</a>
41
<ul class="dropdown-menu" aria-labelledby="dropdownMenuLink1">
42
<li><a class="dropdown-item" href="#">Action</a></li>
43
<li><a class="dropdown-item" href="#">Another action</a></li>
44
<li><a class="dropdown-item" href="#">Something else here</a></li>
45
</ul>
46
</div>
47
</div>
48
<div class="col-md-4 mb-3">
49
<div class="dropdown">
50
<a class="btn btn-outline-light btn-lg btn-block dropdown-toggle" href="#" role="button"
51
id="dropdownMenuLink2" data-mdb-toggle="dropdown" aria-expanded="false">
52
Size
53
</a>
54
<ul class="dropdown-menu" aria-labelledby="dropdownMenuLink2">
55
<li><a class="dropdown-item" href="#">Action</a></li>
56
<li><a class="dropdown-item" href="#">Another action</a></li>
57
<li><a class="dropdown-item" href="#">Something else here</a></li>
58
</ul>
59
</div>
60
</div>
61
</div>
62
<div class="row">
63
<div class="col-md-4 mb-3">
64
<div class="dropdown">
65
<a class="btn btn-outline-light btn-lg btn-block dropdown-toggle" href="#" role="button"
66
id="dropdownMenuLink3" data-mdb-toggle="dropdown" aria-expanded="false">
67
Sale
68
</a>
69
<ul class="dropdown-menu" aria-labelledby="dropdownMenuLink3">
70
<li><a class="dropdown-item" href="#">Action</a></li>
71
<li><a class="dropdown-item" href="#">Another action</a></li>
72
<li><a class="dropdown-item" href="#">Something else here</a></li>
73
</ul>
74
</div>
75
</div>
76
<div class="col-md-4 mb-3">
77
<div class="dropdown">
78
<a class="btn btn-outline-light btn-lg btn-block dropdown-toggle" href="#" role="button"
79
id="dropdownMenuLink4" data-mdb-toggle="dropdown" aria-expanded="false">
80
Time
81
</a>
82
<ul class="dropdown-menu" aria-labelledby="dropdownMenuLink4">
83
<li><a class="dropdown-item" href="#">Action</a></li>
84
<li><a class="dropdown-item" href="#">Another action</a></li>
85
<li><a class="dropdown-item" href="#">Something else here</a></li>
86
</ul>
87
</div>
88
</div>
89
<div class="col-md-4 mb-3">
90
<div class="dropdown">
91
<a class="btn btn-outline-light btn-lg btn-block dropdown-toggle" href="#" role="button"
92
id="dropdownMenuLink5" data-mdb-toggle="dropdown" aria-expanded="false">
93
Type
94
</a>
95
<ul class="dropdown-menu" aria-labelledby="dropdownMenuLink5">
96
<li><a class="dropdown-item" href="#">Action</a></li>
97
<li><a class="dropdown-item" href="#">Another action</a></li>
98
<li><a class="dropdown-item" href="#">Something else here</a></li>
99
</ul>
100
</div>
101
</div>
102
</div>
103
<div class="d-flex justify-content-between align-items-center mt-4">
104
<p class="text-white mb-0"><span class="text-warning">108 </span>results</p>
105
<div>
106
<button type="button" class="btn btn-link text-white" data-mdb-ripple-color="dark">
107
Reset
108
</button>
109
<button type="button" class="btn btn-warning">Search</button>
110
</div>
111
</div>
112
</div>
113
</div>
114
</div>
115
</div>
116
</div>
117
</div>
118
</div>
119
</section>
CSS
xxxxxxxxxx
1
html,
2
body,
3
.intro {
4
height: 100%;
5
}
6
7
.form-control {
8
border-color: transparent;
9
}
10
11
.input-group>.form-control:focus {
12
border-color: transparent;
13
box-shadow: inset 0 0 0 1px transparent;
14
}
15
.btn-link:hover {
16
background-color: rgba(255,255,255,.35);
17
}
18
.btn-link:active, .btn-link.active {
19
background-color: rgba(255,255,255,.35);
20
}
21
.btn-link:focus, .btn-link.focus {
22
background-color: rgba(255,255,255,.35);
23
}
24
.btn-link:active:focus, .btn-link.active:focus {
25
background-color: rgba(255,255,255,.35);
26
}
JS
1
1
Console errors: 0