-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwith-minimal-width.html
More file actions
129 lines (123 loc) · 3.78 KB
/
with-minimal-width.html
File metadata and controls
129 lines (123 loc) · 3.78 KB
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<!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 justify-content-center mt-5">
<!--Section: Live preview-->
<section>
<p class="mt-4">
<strong> <code>.th-lg</code> - 9 rem minimal width of the column</strong>
</p>
<div class="table-responsive">
<!--Table-->
<table class="table">
<!--Table head-->
<thead>
<tr>
<th>#</th>
<th class="th-lg">Lorem ipsum dolor</th>
<th class="th-lg">Lorem ipsum dolor</th>
<th class="th-lg">Lorem ipsum dolor</th>
</tr>
</thead>
<!--Table head-->
<!--Table body-->
<tbody>
<tr>
<th scope="row">1</th>
<td>Lorem ipsum dolor</td>
<td>Lorem ipsum dolor</td>
<td>Lorem ipsum dolor</td>
</tr>
<tr>
<th scope="row">2</th>
<td>Lorem ipsum dolor</td>
<td>Lorem ipsum dolor</td>
<td>Lorem ipsum dolor</td>
</tr>
<tr>
<th scope="row">3</th>
<td>Lorem ipsum dolor</td>
<td>Lorem ipsum dolor</td>
<td>Lorem ipsum dolor</td>
</tr>
</tbody>
<!--Table body-->
</table>
<!--Table-->
</div>
</section>
<!--Section: Live preview-->
<!--Section: Live preview-->
<section>
<p class="mt-4">
<strong> <code>.th-sm</code> - 6 rem minimal width of the column</strong>
</p>
<div class="table-responsive">
<!--Table-->
<table class="table">
<!--Table head-->
<thead>
<tr>
<th>#</th>
<th class="th-sm">Lorem ipsum dolor</th>
<th class="th-sm">Lorem ipsum dolor</th>
<th class="th-sm">Lorem ipsum dolor</th>
</tr>
</thead>
<!--Table head-->
<!--Table body-->
<tbody>
<tr>
<th scope="row">1</th>
<td>Lorem ipsum dolor</td>
<td>Lorem ipsum dolor</td>
<td>Lorem ipsum dolor</td>
</tr>
<tr>
<th scope="row">2</th>
<td>Lorem ipsum dolor</td>
<td>Lorem ipsum dolor</td>
<td>Lorem ipsum dolor</td>
</tr>
<tr>
<th scope="row">3</th>
<td>Lorem ipsum dolor</td>
<td>Lorem ipsum dolor</td>
<td>Lorem ipsum dolor</td>
</tr>
</tbody>
<!--Table body-->
</table>
<!--Table-->
</div>
</section>
<!--Section: Live preview-->
</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>