HTML
xxxxxxxxxx
1
<style>
2
3
html,
4
body,
5
header,
6
.view {
7
height: 100%;
8
}
9
10
@media (max-width: 740px) {
11
html,
12
body,
13
header,
14
.view {
15
height: 1100px;
16
}
17
}
18
@media (min-width: 800px) and (max-width: 850px) {
19
html,
20
body,
21
header,
22
.view {
23
height: 700px;
24
}
25
}
26
27
.top-nav-collapse {
28
background-color: #39448c !important;
29
}
30
31
.navbar:not(.top-nav-collapse) {
32
background: transparent !important;
33
}
34
35
@media (max-width: 991px) {
36
.navbar:not(.top-nav-collapse) {
37
background: #39448c !important;
38
}
39
}
40
41
h6 {
42
line-height: 1.7;
43
}
44
45
</style>
46
47
<!-- Main navigation -->
48
<header>
49
<!--Navbar-->
50
<nav class="navbar navbar-expand-lg navbar-dark fixed-top scrolling-navbar">
51
<div class="container">
52
<a class="navbar-brand" href="#">
53
<strong>MDB</strong>
54
</a>
55
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent-7"
56
aria-controls="navbarSupportedContent-7" aria-expanded="false" aria-label="Toggle navigation">
57
<span class="navbar-toggler-icon"></span>
58
</button>
59
<div class="collapse navbar-collapse" id="navbarSupportedContent-7">
60
<ul class="navbar-nav mr-auto">
61
<li class="nav-item active">
62
<a class="nav-link" href="#">Home
63
<span class="sr-only">(current)</span>
64
</a>
65
</li>
66
<li class="nav-item">
67
<a class="nav-link" href="#">Link</a>
68
</li>
69
<li class="nav-item">
70
<a class="nav-link" href="#">Profile</a>
71
</li>
72
</ul>
73
<form class="form-inline">
74
<div class="md-form my-0">
75
<input class="form-control mr-sm-2" type="text" placeholder="Search" aria-label="Search">
76
</div>
77
</form>
78
</div>
79
</div>
80
</nav>
81
<!-- Navbar -->
82
<!-- Full Page Intro -->
83
<div class="view" style="background-image: url('https://mdbootstrap.com/img/Photos/Others/images/89.jpg'); background-repeat: no-repeat; background-size: cover; background-position: center center;">
84
<!-- Mask & flexbox options-->
85
<div class="mask rgba-indigo-strong d-flex justify-content-center align-items-center">
86
<!-- Content -->
87
<div class="container">
88
<!--Grid row-->
89
<div class="row pt-lg-5 mt-lg-5">
90
<!--Grid column-->
91
<div class="col-md-6 mb-5 mt-md-0 mt-5 white-text text-center text-md-left wow fadeInLeft"
92
data-wow-delay="0.3s">
93
<h1 class="display-4 font-weight-bold">Lorem ipsum</h1>
94
<hr class="hr-light">
95
<h6 class="mb-3">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Rem repellendus quasi
96
fuga
97
nesciunt dolorum nulla magnam veniam sapiente! Commodi sequi non animi ea
98
dolor quisquam iste.</h6>
99
<a class="btn btn-outline-white btn-rounded">Learn more</a>
100
</div>
101
<!--Grid column-->
102
<!--Grid column-->
103
<div class="col-md-6 col-xl-5 mb-4">
104
<!--Form-->
105
<div class="card wow fadeInRight" data-wow-delay="0.3s">
106
<div class="card-body z-depth-2">
107
<!--Header-->
108
<div class="text-center">
109
<h3 class="dark-grey-text">
110
<strong>Write to us:</strong>
111
</h3>
112
<hr>
113
</div>
114
<!--Body-->
115
<div class="md-form">
116
<i class="fas fa-user prefix grey-text"></i>
117
<input type="text" id="form3" class="form-control">
118
<label for="form3">Your name</label>
119
</div>
120
<div class="md-form">
121
<i class="fas fa-envelope prefix grey-text"></i>
122
<input type="text" id="form2" class="form-control">
123
<label for="form2">Your email</label>
124
</div>
125
<!--Textarea with icon prefix-->
126
<div class="md-form">
127
<i class="fas fa-pencil-alt prefix grey-text"></i>
128
<textarea type="text" id="form8" class="md-textarea form-control" rows="3"></textarea>
129
<label for="form8">Your message</label>
130
</div>
131
<div class="text-center mt-3">
132
<button class="btn btn-indigo btn-rounded">Send</button>
133
<hr>
134
<fieldset class="form-check">
135
<input class="form-check-input" type="checkbox" id="checkbox1">
136
<label class="form-check-label" for="checkbox1" class="dark-grey-text">Subscribe me to the
137
newsletter</label>
138
</fieldset>
139
</div>
140
</div>
141
</div>
142
<!--/.Form-->
143
</div>
144
<!--Grid column-->
145
</div>
146
<!--Grid row-->
147
</div>
148
<!-- Content -->
149
</div>
150
<!-- Mask & flexbox options-->
151
</div>
152
<!-- Full Page Intro -->
153
</header>
154
<!-- Main navigation -->
CSS
1
1
JS
1
1
Console errors: 0