-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
45 lines (45 loc) · 2.01 KB
/
index.html
File metadata and controls
45 lines (45 loc) · 2.01 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
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="style.css" rel="stylesheet">
<title>responsive-table</title>
</head>
<body>
<div id="columnline-one" class="table__vertical-line"></div>
<div id="columnline-two" class="table__vertical-line"></div>
<div id="columnline-three" class="table__vertical-line"></div>
<div id="columnline-four" class="table__vertical-line"></div>
<div id="columnline-five" class="table__vertical-line"></div>
<div class="table-container">
<table id="table-id" class="table-container__table">
<tr>
<th id="table__first-header" class="table__first-header" onclick="hideColumnContents('table__first-column')">foofoofoofoofoo</th>
<th id="table__second-header" class="table__second-header" onclick="hideColumnContents('table__second-column')">barbarbarbar</th>
<th id="table__third-header" class="table__third-header" onclick="hideColumnContents('table__third-column')">foo</th>
<th id="table__fourth-header" class="table__fourth-header" onclick="hideColumnContents('table__fourth-column')">bar</th>
</tr>
<tr>
<td class="table__first-column">foofofofofo</td>
<td class="table__second-column">bar</td>
<td class="table__third-column">foofofofofo</td>
<td class="table__fourth-column">bar</td>
</tr>
<tr>
<td class="table__first-column">foofofofofo</td>
<td class="table__second-column">bar</td>
<td class="table__third-column">foofofofofo</td>
<td class="table__fourth-column">bar</td>
</tr>
<tr>
<td class="table__first-column">foofofofofo</td>
<td class="table__second-column">bar</td>
<td class="table__third-column">foofofofofo</td>
<td class="table__fourth-column">bar</td>
</tr>
</table>
</div>
</body>
<script src="script.js"></script>
</html>