This repository was archived by the owner on Dec 3, 2019. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathindex.html
More file actions
80 lines (74 loc) · 4.08 KB
/
index.html
File metadata and controls
80 lines (74 loc) · 4.08 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
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
<html>
<head>
<title>CSS skin</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link type="text/css" rel="stylesheet" href="skin.css">
</head>
<body>
<div>
<section id="intro">
<h2 id="intro_heading">CSS Components</h2>
</section>
<section id="button">
<h2 id="button_heading">Button</h2>
<p>A button is most typically used to trigger a custom JavaScript action (e.g. fetch new results, open a dialog or expand a menu).</p>
<p>A button may also be used, without JavaScript, to submit or reset a form.</p>
<h3>Default Button</h3>
<p>Use the <span class="highlight">btn</span> class on a button element to create the default button.</p>
<p>On hover, the text in the button should <strong>not</strong> be underlined.</p>
<div class="demo">
<p>It currently looks like this: </p>
<button class="btn">Button</button>
</div>
<div class="expected">
<p>It should eventually look like this: </p>
<img src="./img/button.png" />
</div>
<h3>Primary Button</h3>
<p>Use the <span class="highlight">btn--primary</span> hierarchy modifier to create a primary button.</p>
<p>This means that you will use both <span class="highlight">btn</span> and <span class="highlight">btn--primary</span> classes.</p>
<div class="demo">
<p>It currently looks like this: </p>
<button class="btn btn--primary">Button</button>
</div>
<div class="expected">
<p>It should eventually look like this: </p>
<img src="./img/primary-button.png" />
</div>
<h3>Secondary Button</h3>
<p>Use the <span class="highlight">btn--secondary</span> hierarchy modifier to create a secondary button.</p>
<p>This means that you will use both <span class="highlight">btn</span> and <span class="highlight">btn--secondary</span> classes.</p>
<div class="demo">
<p>It currently looks like this: </p>
<button class="btn btn--secondary">Button</button>
</div>
<div class="expected">
<p>It should eventually look like this: </p>
<img src="./img/secondary-button.png" />
</div>
<h3>Large Button</h3>
<p>Use the <span class="highlight">btn--large</span> size modifier to create a large button.</p>
<p>This means that you will use both <span class="highlight">btn</span> and <span class="highlight">btn--large</span> classes.</p>
<div class="demo">
<p>It currently looks like this: </p>
<button class="btn btn--large">Button</button>
</div>
<div class="expected">
<p>It should eventually look like this: </p>
<img src="./img/large-button.png" />
</div>
<h3>Extra-Large Button</h3>
<p>Use the <span class="highlight">btn--extra-large</span> size modifier to create an extra large button.</p>
<p>This means that you will use both <span class="highlight">btn</span> and <span class="highlight">btn--extra-large</span> classes.</p>
<div class="demo">
<p>It currently looks like this: </p>
<button class="btn btn--extra-large">Button</button>
</div>
<div class="expected">
<p>It should eventually look like this: </p>
<img src="./img/extra-large-button.png" />
</div>
</section>
</div>
</body>
</html>