-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathindex.html
64 lines (35 loc) · 2.11 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title> Basic HTML and CSS Templates </title>
<link rel="stylesheet" href="css/normalize.min.css">
<link rel="stylesheet" href="css/base.css">
</head>
<body>
<div id="wrapper">
<h1>index</h1>
<p>Simple templates for starting a small project.</p>
<p>> <a href="https://github.com/macloo/html_css_templates">GitHub repo</a> (all files)</p>
<h2>basics</h2>
<p>Here's a <strong>basic</strong> vanilla <a href="basic.html">template</a> for HTML. It has no CSS. (All other pages use <a href="https://necolas.github.io/normalize.css/">Normalize.css</a>.
The Normalize file has been <a href="https://developers.google.com/speed/docs/insights/MinifyResources">minified</a>.)</p>
<p>Here is a <strong>simple</strong> <a href="simple.html">HTML page</a> that has simple styles applied; these styles work on any size device.</p>
<h2>box-sizing</h2>
<p>When things don't fit the way you expect, box-sizing can help.</p>
<p>> <a href="boxsizing.html">CSS box-sizing example</a></p>
<h2>viewport meta tag</h2>
<p>You'll find the viewport <code>meta</code> element in the <code>head</code> of every HTML file here. <a href="https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag">Here's why.</a></p>
<h2>flexbox</h2>
<p>> <a href="flexbox.html">CSS flexbox example</a></p>
<p>Videos: (1) <a href="https://www.youtube.com/watch?v=mTtG3HWjmg4">Intro to CSS flexbox</a> (2) <a href="https://www.youtube.com/watch?v=3iUscQU0yKg">Use CSS flex to style a header and nav</a> (3) <a href="https://www.youtube.com/watch?v=wOdSgNomgIo">Using CSS flex to scale images in a row</a></p>
<h2>floats vs. grid</h2>
<p>> <a href="floats.html">CSS floats example</a></p>
<p>> <a href="grid.html">CSS grid example</a></p>
<p>Learn more about <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout/Basic_Concepts_of_Grid_Layout">CSS grid</a> at MDN.</p>
<h2>inline-block</h2>
<p>> <a href="inline-block.html">CSS inline-block compared with floats</a></p>
</div>
</body>
</html>