forked from andybrewer/mvp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mvp.html
151 lines (145 loc) · 4.6 KB
/
mvp.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
<!-- MVP.css quickstart template: https://github.com/andybrewer/mvp/ -->
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="icon" href="https://via.placeholder.com/70x70">
<link rel="stylesheet" href="./mvp.css">
<meta charset="utf-8">
<meta name="description" content="My description">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My title</title>
</head>
<body>
<header>
<nav>
<a href="/"><img alt="Logo" src="https://via.placeholder.com/200x70?text=Logo" height="70"></a>
<ul>
<li>Menu Item 1</li>
<li><a href="#section-1">Menu Item 2</a></li>
<li><a href="#">Dropdown Menu Item</a>
<ul>
<li><a href="#">Sublink with a long name</a></li>
<li><a href="#">Short sublink</a></li>
</ul>
</li>
</ul>
</nav>
<h1>Page Heading with <i>Italics</i> and <u>Underline</u></h1>
<p>Page Subheading with <mark>highlighting</mark></p>
<br>
<p><a href="#"><i>Italic Link Button</i></a><a href="#"><b>Bold Link Button →</b></a></p>
</header>
<main>
<hr>
<section id="section-1">
<header>
<h2>Section Heading</h2>
<p>Section Subheading</p>
</header>
<aside>
<h3>Card heading</h3>
<p>Card content*</p>
<p><small>*with small content</small></p>
</aside>
<aside>
<h3>Card heading</h3>
<p>Card content <sup>with notification</sup></p>
</aside>
<aside>
<h3>Card heading</h3>
<p>Card content</p>
</aside>
</section>
<hr>
<section>
<blockquote>
"Quote"
<footer><i>- Attribution</i></footer>
</blockquote>
</section>
<hr>
<section>
<table>
<thead>
<tr>
<th></th>
<th>Col A</th>
<th>Col B</th>
<th>Col C</th>
</tr>
</thead>
<tr>
<td>Row 1</td>
<td>Cell A1</td>
<td>Cell B1</td>
<td>Cell C1</td>
</tr>
<tr>
<td>Row 2</td>
<td>Cell A2</td>
<td>Cell B2</td>
<td>Cell C2</td>
</tr>
</table>
</section>
<hr>
<article>
<h2>Left-aligned header</h2>
<p>Left-aligned paragraph</p>
<aside>
<p>Article callout</p>
</aside>
<ul>
<li>List item 1</li>
<li>List item 2</li>
</ul>
<figure>
<img alt="Stock photo" src="https://via.placeholder.com/1080x500?text=Amazing+stock+photo">
<figcaption><i>Image caption</i></figcaption>
</figure>
</article>
<hr>
<div>
<details>
<summary>Expandable title</summary>
<p>Revealed content</p>
</details>
<details>
<summary>Another expandable title</summary>
<p>More revealed content</p>
</details>
<br>
<p>Inline <code>code</code> snippets</p>
<pre>
<code>
// preformatted code block
</code>
</pre>
</div>
<hr>
<section>
<form>
<header>
<h2>Form title</h2>
</header>
<label for="input1">Input label:</label>
<input type="text" id="input1" name="input1" size="20" placeholder="Input1">
<label for="select1">Select label:</label>
<select id="select1">
<option value="option1">option1</option>
<option value="option2">option2</option>
</select>
<label for="textarea1">Textarea label:</label>
<textarea cols="40" rows="5" id="textarea1"></textarea>
<button type="submit">Submit</button>
</form>
</section>
</main>
<footer>
<hr>
<p>
<small>Contact info</small>
</p>
</footer>
</body>
</html>