-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
199 lines (185 loc) · 7.27 KB
/
index.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
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0" />
<title>Responsive Layout</title>
<link
rel="stylesheet"
href="assets/css/style.css" />
</head>
<body class="bw-template-1">
<header class="bw-header">
<div>logo</div>
<button class="bw-nav-hamburger">
<span></span>
<span></span>
<span></span>
</button>
</header>
<nav>
<ul class="bw-nav bw-nav-column">
<li><a href="#">link 1</a></li>
<li><a href="#">link 2</a></li>
<li><a href="#">link 3</a></li>
<li><a href="#">link 4</a></li>
</ul>
</nav>
<script>
const hamburger = document.querySelector(".bw-nav-hamburger");
const navigation = document.querySelector("body > nav > ul");
let state = false;
document
.querySelector(".bw-nav-hamburger")
.addEventListener("click", () => {
state = !state;
if (state) {
hamburger.classList.add("bw-nav-hamburger-cross");
navigation.classList.add("bw-nav-active");
} else {
hamburger.classList.remove("bw-nav-hamburger-cross");
navigation.classList.remove("bw-nav-active");
}
});
</script>
<main class="bw-main">
<article>
<form>
<fieldset>
<legend>Login</legend>
<div class="form-element-group">
<label for="email">E-Mail</label>
<input
type="email"
id="email"
name="email"
required />
<p class="success">Das hast du gut gemacht!</p>
</div>
<style>
label::after {
content: "";
display: block;
}
</style>
<div>
<label for="password">Passwort</label>
<input
type="password"
id="password"
name="password"
required />
<p class="success">Das Passwort ist sicher.</p>
</div>
<div class="form-element-group">
<input
type="checkbox"
id="terms"
name="terms"
required />
<label for="terms">Agb's zustimmen</label>
<p>
Das ist eine Pflichtangabe, ohne Zustimmung
kannst Du sich nicht einloggen.
</p>
</div>
<div class="form-element-group">
<button type="reset">Abbrechen</button>
<button type="submit">Login</button>
</div>
</fieldset>
</form>
</article>
<section>
<h1 class="element">Headline</h1>
<p>
Lorem <strong>FETT</strong> ipsum dolor sit amet consectetur
adipisicing elit. Quo corporis ex iure! Lorem ipsum dolor
sit amet consectetur adipisicing elit. Voluptates numquam
saepe ducimus rerum ut nesciunt maiores, aliquam eligendi
recusandae. Quasi iste ratione minus, id velit laborum culpa
quia optio dignissimos, reprehenderit laboriosam expedita,
vel voluptates. Sit?
</p>
</section>
<article class="bw-article bw-article-fullheight">
<h2 class="element-2">Tabellen</h2>
<table class="bw-table">
<thead>
<tr>
<th>one</th>
<th>two</th>
<th>three</th>
<th>four</th>
</tr>
</thead>
<tbody>
<tr>
<td>one</td>
<td>two</td>
<td>three</td>
<td>four</td>
</tr>
<tr>
<td>one</td>
<td>two</td>
<td>three</td>
<td>four</td>
</tr>
<tr>
<td>one</td>
<td>two</td>
<td>three</td>
<td>four</td>
</tr>
<tr>
<td>one</td>
<td>two</td>
<td>three</td>
<td>four</td>
</tr>
<tr>
<td>one</td>
<td>two</td>
<td>three</td>
<td>four</td>
</tr>
<tr>
<td>one</td>
<td>two</td>
<td>three</td>
<td>four</td>
</tr>
</tbody>
<tfoot>
<tr>
<td>foot one</td>
<td>foot two</td>
<td>foot three</td>
<td>foot four</td>
</tr>
</tfoot>
</table>
</article>
<!-- <article>
<h2>Color System BW Blue</h2>
<p class="bw-blue">BW Blue</p>
<p class="bw-blue-100">BW Blue 100</p>
<p class="bw-blue-200">BW Blue 200</p>
<p class="bw-blue-300">BW Blue 300</p>
<p class="bw-blue-400">BW Blue 400</p>
<p class="bw-blue-500">BW Blue 500</p>
<p class="bw-blue-600">BW Blue 600</p>
<p class="bw-blue-700">BW Blue 700</p>
<p class="bw-blue-800">BW Blue 800</p>
<p class="bw-blue-900">BW Blue 900</p>
</article>
<h4>Headline 4</h4>
<h5>Headline 5</h5>
<h6>Headline 6</h6> -->
</main>
<footer>footer</footer>
</body>
</html>