forked from muicss/mui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathforms.html
More file actions
51 lines (51 loc) · 1.35 KB
/
forms.html
File metadata and controls
51 lines (51 loc) · 1.35 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
<!doctype html>
<html>
<head>
<style type="text/css">
body {
font-family: Helvetica, Arial;
}
</style>
<script src="../assets/mui/webcomponents/mui-webcomponents.js"></script>
</head>
<body>
<h1>Forms</h1>
<h2>Form with placeholders</h2>
<form>
<mui-textfield type="text" placeholder="Placeholder 1"></mui-textfield>
<mui-textfield type="text" placeholder="Placeholder 2"></mui-textfield>
<mui-btn style="raised">Submit</mui-btn>
</form>
<h2>Form with fixed labels</h2>
<form>
<mui-textfield type="text" label="Input 1"></mui-textfield>
<mui-textfield type="text" label="Input 2"></mui-textfield>
<mui-textfield type="textarea" label="Textarea"></mui-textfield>
<mui-btn style="raised">Submit</mui-btn>
</form>
<h2>Form with floating labels</h2>
<form>
<mui-textfield
type="text"
label="Email address"
floating
/>
</mui-textfield>
<mui-textfield
type="text"
value="Value on load"
label="Label"
floating
/>
</mui-textfield>
<mui-textfield
type="textarea"
value="Value on load"
label="Textarea"
floating
/>
</mui-textfield>
<mui-btn style="raised">Submit</mui-btn>
</form>
</body>
</html>