-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
74 lines (69 loc) · 2.69 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
<!doctype html>
<html lang="eng">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes">
<title>mini-form component</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:300,400,500,700">
<link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.cyan-indigo.min.css">
<script src="bower_components/shadydom/shadydom.min.js"></script>
<script src="bower_components/custom-elements/custom-elements.min.js"></script>
<style>
.mini-form {
margin: 0 auto;
}
</style>
</head>
<body>
<div class="mdl-layout">
<header class="mdl-layout__header">
<div class="mdl-layout__header-row">
<span class="mdl-layout-title">Web Component Demo</span>
</div>
</header>
<main class="mdl-layout__content">
<div class="mdl-grid">
<div class="mdl-cell mdl-cell--4-col mdl-cell--top">
<mini-form>What gets your goat?</mini-form>
</div>
<div class="mdl-cell mdl-cell--4-col mdl-cell--top">
<mini-form theme="blue_grey-red">Go ahead, scream into the void</mini-form>
</div>
<div class="mdl-cell mdl-cell--4-col mdl-cell--top">
<mini-form theme="lime-indigo">I hate it when...</mini-form>
</div>
</div>
<div class="mdl-grid">
<div class="mdl-cell mdl-cell--4-col mdl-cell--top">
<code>
<mini-form><br>
What gets your goat?<br>
</mini-form>
</code>
</div>
<div class="mdl-cell mdl-cell--4-col mdl-cell--top">
<code>
<mini-form theme="blue_grey-red"><br>
Go ahead, scream into the void<br>
</mini-form>
</code>
</div>
<div class="mdl-cell mdl-cell--4-col mdl-cell--top">
<code>
<mini-form theme="lime-indigo"><br>
I hate it when...<br>
</mini-form>
</code>
</div>
</div>
<section class="mdl-grid">
<div class="mdl-cell mdl-cell--12-col">
<h3>Read the tutorial <a href="https://bendyworks.com/blog/native-web-components">here</a>. View the code <a href="https://github.com/pearlbea/mini-form">here</a>.</h3>
</div>
</section>
</main>
</div>
<script src="mini-form.js"></script>
</body>
</html>