HTML
xxxxxxxxxx
1
<!-- Remove the container if you want to extend the Footer to full width. -->
2
<div class="container my-5">
3
4
<footer class="bg-light text-center">
5
<!-- Grid container -->
6
<div class="container p-4 pb-0">
7
<!-- Section: Form -->
8
<section class="">
9
<form action="">
10
<!--Grid row-->
11
<div class="row d-flex justify-content-center">
12
<!--Grid column-->
13
<div class="col-auto">
14
<p class="pt-2">
15
<strong>Sign up for our newsletter</strong>
16
</p>
17
</div>
18
<!--Grid column-->
19
20
<!--Grid column-->
21
<div class="col-md-5 col-12">
22
<!-- Email input -->
23
<div class="form-outline mb-4">
24
<input type="email" id="form5Example2" class="form-control" />
25
<label class="form-label" for="form5Example2">Email address</label>
26
</div>
27
</div>
28
<!--Grid column-->
29
30
<!--Grid column-->
31
<div class="col-auto">
32
<!-- Submit button -->
33
<button type="submit" class="btn btn-primary mb-4">
34
Subscribe
35
</button>
36
</div>
37
<!--Grid column-->
38
</div>
39
<!--Grid row-->
40
</form>
41
</section>
42
<!-- Section: Form -->
43
</div>
44
<!-- Grid container -->
45
46
<!-- Copyright -->
47
<div class="text-center p-3" style="background-color: rgba(0, 0, 0, 0.2);">
48
© 2020 Copyright:
49
<a class="text-dark" href="https://mdbootstrap.com/">MDBootstrap.com</a>
50
</div>
51
<!-- Copyright -->
52
</footer>
53
54
</div>
55
<!-- End of .container -->
CSS
1
1
JS
1
1
Console errors: 0