1 | <!DOCTYPE html>
|
2 | <html lang="en">
|
3 | <head>
|
4 | <meta charset="UTF-8">
|
5 | <title>Demo: Forms</title>
|
6 |
|
7 | <link rel="stylesheet" href="../build/marble.css">
|
8 | <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Lato:700,400,300|Open+Sans:700,400,300">
|
9 |
|
10 | <style>
|
11 | body {
|
12 | margin: 24px auto;
|
13 | width: 480px;
|
14 | }
|
15 | </style>
|
16 | </head>
|
17 | <body>
|
18 | <form>
|
19 | <div class="form-group">
|
20 | <label for="input-regular">Label</label>
|
21 | <input id="input-regular" class="form-control" type="text" placeholder="Write something here...">
|
22 | <p class="help-block">A block of auxiliar text</p>
|
23 | </div>
|
24 |
|
25 | <div class="form-group">
|
26 | <label for="input-disabled">Input disabled</label>
|
27 | <input id="input-disabled" class="form-control" type="text" placeholder="Write something here..." disabled>
|
28 | <p class="help-block"></p>
|
29 | </div>
|
30 |
|
31 | <div class="form-group has-success">
|
32 | <label for="input-success">Input with success</label>
|
33 | <input id="input-success" class="form-control" type="text">
|
34 | <p class="help-block">A block of auxiliar text</p>
|
35 | </div>
|
36 |
|
37 | <div class="form-group has-warning">
|
38 | <label for="input-warning">Input with warning</label>
|
39 | <input id="input-warning" class="form-control" type="text">
|
40 | <p class="help-block">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation</p>
|
41 | </div>
|
42 |
|
43 | <div class="form-group has-error">
|
44 | <label for="input-error">Input with error</label>
|
45 | <input id="input-error" class="form-control" type="text">
|
46 | <p class="help-block">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
|
47 | </div>
|
48 |
|
49 | <h1>Borderless input</h1>
|
50 | <div class="form-group">
|
51 | <input type="text" class="form-control-borderless" placeholder="/">
|
52 | </div>
|
53 |
|
54 | <h1>Borderless textarea</h1>
|
55 | <div class="form-group">
|
56 | <textarea class="form-control-borderless" placeholder="add a description..."></textarea>
|
57 | </div>
|
58 | </form>
|
59 | </body>
|
60 | </html>
|