|
13 | 13 | <div class="antialiased text-gray-900 px-6">
|
14 | 14 | <div class="max-w-2xl mx-auto py-12">
|
15 | 15 | <div class="grid grid-cols-2 gap-4">
|
16 |
| - <div> |
17 |
| - <label class="block mt-4"> |
| 16 | + <div class="grid grid-cols-1 gap-4"> |
| 17 | + <label class="block"> |
18 | 18 | <span class="text-gray-700">Input (text)</span>
|
19 | 19 | <input type="text" class="mt-1 block w-full" placeholder="john@example.com" />
|
20 | 20 | </label>
|
21 |
| - <label class="block mt-4"> |
| 21 | + <label class="block"> |
22 | 22 | <span class="text-gray-700">Input (email)</span>
|
23 | 23 | <input type="email" class="mt-1 block w-full" placeholder="john@example.com" />
|
24 | 24 | </label>
|
25 |
| - <label class="block mt-4"> |
| 25 | + <label class="block"> |
26 | 26 | <span class="text-gray-700">Input (range)</span>
|
27 | 27 | <input type="range" class="mt-1 block w-full" />
|
28 | 28 | </label>
|
29 |
| - <label class="block mt-4"> |
| 29 | + <label class="block"> |
30 | 30 | <span class="text-gray-700">Input (date)</span>
|
31 | 31 | <input type="date" class="mt-1 block w-full" />
|
32 | 32 | </label>
|
33 |
| - <label class="block mt-4"> |
| 33 | + <label class="block"> |
34 | 34 | <span class="text-gray-700">Input (datetime-local)</span>
|
35 | 35 | <input type="datetime-local" class="mt-1 block w-full" />
|
36 | 36 | </label>
|
37 |
| - <label class="block mt-4"> |
| 37 | + <label class="block"> |
38 | 38 | <span class="text-gray-700">Input (month)</span>
|
39 | 39 | <input type="month" class="mt-1 block w-full" />
|
40 | 40 | </label>
|
41 |
| - <label class="block mt-4"> |
| 41 | + <label class="block"> |
42 | 42 | <span class="text-gray-700">Input (number)</span>
|
43 | 43 | <input type="number" class="mt-1 block w-full" />
|
44 | 44 | </label>
|
45 |
| - <label class="block mt-4"> |
| 45 | + <label class="block"> |
46 | 46 | <span class="text-gray-700">Input (search)</span>
|
47 | 47 | <input type="search" class="mt-1 block w-full" />
|
48 | 48 | </label>
|
49 |
| - <label class="block mt-4"> |
| 49 | + <label class="block"> |
50 | 50 | <span class="text-gray-700">Input (time)</span>
|
51 | 51 | <input type="time" class="mt-1 block w-full" />
|
52 | 52 | </label>
|
53 |
| - <label class="block mt-4"> |
| 53 | + <label class="block"> |
54 | 54 | <span class="text-gray-700">Input (week)</span>
|
55 | 55 | <input type="week" class="mt-1 block w-full" />
|
56 | 56 | </label>
|
57 |
| - <label class="block mt-4"> |
| 57 | + <label class="block"> |
58 | 58 | <span class="text-gray-700">Input (email, multiple)</span>
|
59 | 59 | <input
|
60 | 60 | type="email"
|
|
63 | 63 | placeholder="john@example.com"
|
64 | 64 | />
|
65 | 65 | </label>
|
66 |
| - <label class="block mt-4"> |
| 66 | + <label class="block"> |
67 | 67 | <span class="text-gray-700">Input (file)</span>
|
68 | 68 | <input type="file" class="mt-1 block w-full" />
|
69 | 69 | </label>
|
70 |
| - <label class="block mt-4"> |
| 70 | + <label class="block"> |
71 | 71 | <span class="text-gray-700">Input (file)</span>
|
72 | 72 | <input type="file" multiple class="mt-1 block w-full" />
|
73 | 73 | </label>
|
74 |
| - <label class="block mt-4"> |
| 74 | + <label class="block"> |
75 | 75 | <span class="text-gray-700">Textarea</span>
|
76 | 76 | <textarea
|
77 | 77 | class="mt-1 block w-full h-24"
|
|
80 | 80 | >
|
81 | 81 | </textarea>
|
82 | 82 | </label>
|
83 |
| - <div class="block mt-4"> |
| 83 | + <div class="block"> |
84 | 84 | <span class="text-gray-700">Checkboxes</span>
|
85 | 85 | <div class="mt-2">
|
86 | 86 | <div>
|
|
104 | 104 | </div>
|
105 | 105 | </div>
|
106 | 106 | </div>
|
107 |
| - <div> |
| 107 | + <div class="grid grid-cols-1 gap-4"> |
108 | 108 | <label class="block">
|
109 | 109 | <span class="text-gray-700">Select</span>
|
110 | 110 | <select class="block w-full mt-1">
|
111 | 111 | <option>Option 1</option>
|
112 | 112 | <option>Option 2</option>
|
113 | 113 | </select>
|
114 | 114 | </label>
|
115 |
| - <label class="block mt-4"> |
| 115 | + <label class="block"> |
116 | 116 | <span class="text-gray-700">Multiselect</span>
|
117 | 117 | <select class="block w-full h-24 mt-1" multiple="">
|
118 | 118 | <option>Option 1</option>
|
|
122 | 122 | <option>Option 5</option>
|
123 | 123 | </select>
|
124 | 124 | </label>
|
125 |
| - <div class="block mt-4"> |
| 125 | + <div class="block"> |
126 | 126 | <span class="text-gray-700">Radio Buttons</span>
|
127 | 127 | <div class="mt-2">
|
128 | 128 | <div>
|
|
0 commit comments