|
4 | 4 | <meta charset="utf-8">
|
5 | 5 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
6 | 6 |
|
| 7 | + <!-- Set the title of your site here --> |
7 | 8 | <title> HTML5 Patterns </title>
|
| 9 | + |
8 | 10 | <meta name="author" content="mrmrs">
|
9 | 11 | <meta name="description" content="Common HTML5 patterns I use.">
|
10 |
| - |
11 | 12 | <meta name="viewport" content="width=device-width, initial-scale=1">
|
12 | 13 |
|
| 14 | + <!-- Link to your stylesheet here --> |
13 | 15 | <link rel="stylesheet" href="css/i.css">
|
14 | 16 |
|
15 | 17 | <!-- Favicons and Touch Device Icons -->
|
|
37 | 39 | <ul>
|
38 | 40 | <li> <a href="#" title="Home">Home</a> </li>
|
39 | 41 | <li> <a href="#" title="About">About</a> </li>
|
| 42 | + <li> <a href="#" title="Sign Up">Sign Up</a> </li> |
40 | 43 | <li> <a href="#" title="Contact">Contact</a> </li>
|
| 44 | + <li> <a href="#" title="Careers">Careers</a> </li> |
41 | 45 | </ul>
|
42 | 46 | </nav>
|
43 | 47 | </header>
|
@@ -90,13 +94,13 @@ <h6 class="h6">Sixth header h6</h6>
|
90 | 94 | praesentium voluptatum deleniti atque corrupti quos.
|
91 | 95 | </p>
|
92 | 96 | </section>
|
93 |
| - |
| 97 | + <hr /> |
94 | 98 | <section>
|
95 | 99 | <h1>Links</h1>
|
96 | 100 | <a href="#" class="link" title="Sample text link">Sample text link</a>
|
97 | 101 | <a href="#" class="link btn" title="Sample button link">Sample button link</a>
|
98 | 102 | </section>
|
99 |
| - |
| 103 | + <hr /> |
100 | 104 | <section>
|
101 | 105 | <h1 class="h1">Lists</h1>
|
102 | 106 | <ul class="list-horizontal">
|
@@ -192,6 +196,7 @@ <h1 class="h1">Lists</h1>
|
192 | 196 | </section>
|
193 | 197 |
|
194 | 198 | <section>
|
| 199 | + <h1>Forms</h1> |
195 | 200 | <form>
|
196 | 201 | <fieldset>
|
197 | 202 | <!--
|
@@ -273,7 +278,9 @@ <h1>Buttons</h1>
|
273 | 278 | <button class="btn">A button</button>
|
274 | 279 | <button class="btn--large">A large button</button>
|
275 | 280 | </section>
|
| 281 | + <hr /> |
276 | 282 | <section>
|
| 283 | + <h1>An Example Article</h1> |
277 | 284 | <article>
|
278 | 285 | <h1>Title</h1>
|
279 | 286 | <p class="intro">
|
@@ -308,15 +315,52 @@ <h1>Title</h1>
|
308 | 315 | </p>
|
309 | 316 | </article>
|
310 | 317 | </section>
|
| 318 | + <hr /> |
311 | 319 |
|
312 | 320 | <section>
|
| 321 | + <h1>Code examples</h1> |
313 | 322 | <code>
|
314 | 323 | <pre>
|
315 | 324 | sudo ipfw pipe 1 config bw 256KByte/s
|
316 | 325 | sudo ipfw add 1 pipe 1 src-port 3000
|
317 | 326 | </pre>
|
318 | 327 | </code>
|
319 | 328 | </section>
|
| 329 | + <hr /> |
| 330 | + <section> |
| 331 | + <h1>Footer</h1> |
| 332 | + <footer> |
| 333 | + <p>Copyright 2013. Made with love by <a href="http://mrmrs.cc" title="MRMRS - Designer">mrmrs</a>.</p> |
| 334 | + <ul> |
| 335 | + <li> |
| 336 | + <a href="#">Home</a> |
| 337 | + </li> |
| 338 | + <li> |
| 339 | + <a href="#">Contact</a> |
| 340 | + </li> |
| 341 | + <li> |
| 342 | + <a href="#">Jobs</a> |
| 343 | + </li> |
| 344 | + </ul> |
| 345 | + <ul class="social-links"> |
| 346 | + <li> |
| 347 | + <a href="http://twitter.com" title=" on Twitter">Twitter</a> |
| 348 | + </li> |
| 349 | + <li> |
| 350 | + <a href="http://pinterest.com" title=" on Pinterest">Pinterest</a> |
| 351 | + </li> |
| 352 | + <li> |
| 353 | + <a href="http://instagram.com" title=" on Instagram">Instagram</a> |
| 354 | + </li> |
| 355 | + <li> |
| 356 | + <a href="http://dribbbble.com" title=" on Dribbble">Dribbble</a> |
| 357 | + </li> |
| 358 | + <li> |
| 359 | + <a href="http://github.com" title=" on Github">Github</a> |
| 360 | + </li> |
| 361 | + </ul> |
| 362 | + </footer> |
| 363 | + </section> |
320 | 364 |
|
321 | 365 | <section>
|
322 | 366 | <h1>New hawtness</h1>
|
@@ -379,6 +423,7 @@ <h1>Random Stuff</h1>
|
379 | 423 | </samp>
|
380 | 424 | </section>
|
381 | 425 | <section>
|
| 426 | + <h1>Tables</h1> |
382 | 427 | <!--
|
383 | 428 | From the HTML spec (http://www.w3.org/TR/html401/struct/tables.html)
|
384 | 429 |
|
|
0 commit comments