-
Notifications
You must be signed in to change notification settings - Fork 0
/
simple-modal-subscription.html
71 lines (66 loc) · 3.47 KB
/
simple-modal-subscription.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<title>Material Design for Bootstrap</title>
<!-- MDB icon -->
<link rel="icon" href="img/mdb-favicon.ico" type="image/x-icon" />
<!-- Font Awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" />
<!-- Google Fonts Roboto -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap" />
<!-- MDB -->
<link rel="stylesheet" href="css/mdb.min.css" />
</head>
<body>
<!-- Start your project here-->
<div class="container d-flex justify-content-center mt-5">
<!-- Button trigger modal -->
<button type="button" class="btn btn-primary" data-mdb-toggle="modal" data-mdb-target="#staticBackdrop3">
Launch modal subscription form
</button>
<!-- Modal -->
<div class="modal fade" id="staticBackdrop3" tabindex="-1" aria-labelledby="exampleModalLabel3" aria-hidden="true">
<div class="modal-dialog d-flex justify-content-center">
<div class="modal-content w-75">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel3">Subscribe</h5>
<button type="button" class="btn-close" data-mdb-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body p-4">
<form>
<!-- Name input -->
<div class="form-outline mb-4">
<input type="text" id="name3" class="form-control" />
<label class="form-label" for="name3">Name</label>
</div>
<!-- Email input -->
<div class="form-outline mb-4">
<input type="email" id="email3" class="form-control" />
<label class="form-label" for="email3">Email address</label>
</div>
<!-- Checkbox -->
<div class="form-check d-flex justify-content-center mb-4">
<input class="form-check-input me-2" type="checkbox" value="" id="checkbox3" checked />
<label class="form-check-label" for="checkbox3">
I have read and agree to the terms
</label>
</div>
<!-- Submit button -->
<button type="submit" class="btn btn-primary btn-block">Send</button>
</form>
</div>
</div>
</div>
</div>
<!-- Modal -->
</div>
<!-- End your project here-->
<!-- MDB -->
<script type="text/javascript" src="js/mdb.min.js"></script>
<!-- Custom scripts -->
<script type="text/javascript"></script>
</body>
</html>