-
Notifications
You must be signed in to change notification settings - Fork 1
/
layout.html
69 lines (66 loc) · 2.44 KB
/
layout.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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Belajar Bootstrap</title>
<link rel="stylesheet" href="bootstrap/css/bootstrap.css">
</head>
<body>
<div class="container">
<h1>Form 1</h1>
<form action="">
<div class="row mb-3">
<label class="form-label col-2 col-form-label col-form-label-lg" for="first_name">First Name</label>
<div class="col-10">
<input type="text" id="first_name" class="form-control form-control-lg">
</div>
</div>
<div class="row mb-3">
<label for="last_name" class="col-2 form-label col-form-label col-form-label-sm">Last Name</label>
<div class="col-10">
<input type="text" id="last_name" class="form-control form-control-sm">
</div>
</div>
<div class="row">
<div class="col-7">
<input type="text" placeholder="Satu" class="form-control">
</div>
<div class="col-sm">
<input type="text" placeholder="Dua" class="form-control">
</div>
<div class="col-sm">
<input type="text" placeholder="Tiga" class="form-control">
</div>
</div>
<div class="row row-cols-lg-auto">
<div class="col-12">
<input type="text" placeholder="Satu" class="form-control">
</div>
<div class="col-12">
<input type="text" placeholder="Dua" class="form-control">
</div>
<div class="col-12">
<input type="text" placeholder="Tiga" class="form-control">
</div>
</div>
</form>
<h1>Form 2</h1>
<form action="" class="row g-3">
<div class="col-6">
<label for="user" class="form-label">Username</label>
<input type="text" id="user" name="user" class="form-control">
</div>
<div class="col-6">
<label for="password" class="form-label">Password</label>
<input type="password" id="password" name="password" class="form-control">
</div>
<div class="col-12">
<label for="name" class="form-label">Name</label>
<input type="text" id="name" name="name" class="form-control">
</div>
</form>
</div>
<script src="bootstrap/js/bootstrap.js"></script>
</body>
</html>