1- <!DOCTYPE html>
1+ <!doctype html>
22< html lang ="en ">
33 < head >
44 < meta charset ="UTF-8 " />
77 < link rel ="stylesheet " href ="/dist/tailwind.css " />
88 </ head >
99 < body >
10- < div class ="antialiased text-gray-900 px-6 ">
11- < div class ="max-w-xl mx-auto py-12 divide-y md:max-w-4xl ">
10+ < div class ="px-6 text-gray-900 antialiased ">
11+ < div class ="mx-auto max-w-xl divide-y py-12 md:max-w-4xl ">
1212 < div class ="py-8 ">
1313 < h1 class ="text-4xl font-bold "> @tailwindcss/forms examples</ h1 >
1414 < p class ="mt-2 text-lg text-gray-600 ">
@@ -41,7 +41,7 @@ <h2 class="text-2xl font-bold">Unstyled</h2>
4141 </ label >
4242 < label class ="block ">
4343 < span class ="text-gray-700 "> What type of event is it?</ span >
44- < select class ="block w-full mt-1 ">
44+ < select class ="mt-1 block w-full ">
4545 < option > Corporate event</ option >
4646 < option > Wedding</ option >
4747 < option > Birthday</ option >
@@ -95,7 +95,7 @@ <h2 class="text-2xl font-bold">Simple</h2>
9595 < label class ="block ">
9696 < span class ="text-gray-700 "> What type of event is it?</ span >
9797 < select
98- class ="block w-full mt-1 rounded-md border-gray-300 shadow-sm focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 "
98+ class ="mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 "
9999 >
100100 < option > Corporate event</ option >
101101 < option > Wedding</ option >
@@ -116,7 +116,7 @@ <h2 class="text-2xl font-bold">Simple</h2>
116116 < label class ="inline-flex items-center ">
117117 < input
118118 type ="checkbox "
119- class ="rounded border-gray-300 text-indigo-600 shadow-sm focus:border-indigo-300 focus:ring focus:ring-offset-0 focus:ring-indigo-200 focus:ring-opacity-50 "
119+ class ="rounded border-gray-300 text-indigo-600 shadow-sm focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 focus:ring-offset-0 "
120120 checked
121121 />
122122 < span class ="ml-2 "> Email me news and special offers</ span >
@@ -135,29 +135,29 @@ <h2 class="text-2xl font-bold">Underline</h2>
135135 < span class ="text-gray-700 "> Full name</ span >
136136 < input
137137 type ="text "
138- class ="mt-0 block w-full px-0.5 border-0 border-b-2 border-gray-200 focus:ring-0 focus:border-black "
138+ class ="mt-0 block w-full border-0 border-b-2 border-gray-200 px-0.5 focus:border-black focus:ring-0 "
139139 placeholder =""
140140 />
141141 </ label >
142142 < label class ="block ">
143143 < span class ="text-gray-700 "> Email address</ span >
144144 < input
145145 type ="email "
146- class ="mt-0 block w-full px-0.5 border-0 border-b-2 border-gray-200 focus:ring-0 focus:border-black "
146+ class ="mt-0 block w-full border-0 border-b-2 border-gray-200 px-0.5 focus:border-black focus:ring-0 "
147147148148 />
149149 </ label >
150150 < label class ="block ">
151151 < span class ="text-gray-700 "> When is your event?</ span >
152152 < input
153153 type ="date "
154- class ="mt-0 block w-full px-0.5 border-0 border-b-2 border-gray-200 focus:ring-0 focus:border-black "
154+ class ="mt-0 block w-full border-0 border-b-2 border-gray-200 px-0.5 focus:border-black focus:ring-0 "
155155 />
156156 </ label >
157157 < label class ="block ">
158158 < span class ="text-gray-700 "> What type of event is it?</ span >
159159 < select
160- class ="block w-full mt-0 pl-0.5 pr-7 border-0 border-b-2 border-gray-200 focus:ring-0 focus:border-black "
160+ class ="mt-0 block w-full border-0 border-b-2 border-gray-200 pl-0.5 pr-7 focus:border-black focus:ring-0 "
161161 >
162162 < option > Corporate event</ option >
163163 < option > Wedding</ option >
@@ -168,7 +168,7 @@ <h2 class="text-2xl font-bold">Underline</h2>
168168 < label class ="block ">
169169 < span class ="text-gray-700 "> Additional details</ span >
170170 < textarea
171- class ="mt-0 block w-full px-0.5 border-0 border-b-2 border-gray-200 focus:ring-0 focus:border-black "
171+ class ="mt-0 block w-full border-0 border-b-2 border-gray-200 px-0.5 focus:border-black focus:ring-0 "
172172 rows ="2 "
173173 > </ textarea >
174174 </ label >
@@ -178,7 +178,7 @@ <h2 class="text-2xl font-bold">Underline</h2>
178178 < label class ="inline-flex items-center ">
179179 < input
180180 type ="checkbox "
181- class ="border-gray-300 border-2 text-black focus:border-gray-300 focus:ring-black "
181+ class ="border-2 border-gray-300 text-black focus:border-gray-300 focus:ring-black "
182182 />
183183 < span class ="ml-2 "> Email me news and special offers</ span >
184184 </ label >
@@ -196,29 +196,29 @@ <h2 class="text-2xl font-bold">Solid</h2>
196196 < span class ="text-gray-700 "> Full name</ span >
197197 < input
198198 type ="text "
199- class ="mt-1 block w-full rounded-md bg-gray-100 border-transparent focus:border-gray-500 focus:bg-white focus:ring-0 "
199+ class ="mt-1 block w-full rounded-md border-transparent bg-gray-100 focus:border-gray-500 focus:bg-white focus:ring-0 "
200200 placeholder =""
201201 />
202202 </ label >
203203 < label class ="block ">
204204 < span class ="text-gray-700 "> Email address</ span >
205205 < input
206206 type ="email "
207- class ="mt-1 block w-full rounded-md bg-gray-100 border-transparent focus:border-gray-500 focus:bg-white focus:ring-0 "
207+ class ="mt-1 block w-full rounded-md border-transparent bg-gray-100 focus:border-gray-500 focus:bg-white focus:ring-0 "
208208209209 />
210210 </ label >
211211 < label class ="block ">
212212 < span class ="text-gray-700 "> When is your event?</ span >
213213 < input
214214 type ="date "
215- class ="mt-1 block w-full rounded-md bg-gray-100 border-transparent focus:border-gray-500 focus:bg-white focus:ring-0 "
215+ class ="mt-1 block w-full rounded-md border-transparent bg-gray-100 focus:border-gray-500 focus:bg-white focus:ring-0 "
216216 />
217217 </ label >
218218 < label class ="block ">
219219 < span class ="text-gray-700 "> What type of event is it?</ span >
220220 < select
221- class ="block w-full mt-1 rounded-md bg-gray-100 border-transparent focus:border-gray-500 focus:bg-white focus:ring-0 "
221+ class ="mt-1 block w-full rounded-md border-transparent bg-gray-100 focus:border-gray-500 focus:bg-white focus:ring-0 "
222222 >
223223 < option > Corporate event</ option >
224224 < option > Wedding</ option >
@@ -229,7 +229,7 @@ <h2 class="text-2xl font-bold">Solid</h2>
229229 < label class ="block ">
230230 < span class ="text-gray-700 "> Additional details</ span >
231231 < textarea
232- class ="mt-1 block w-full rounded-md bg-gray-100 border-transparent focus:border-gray-500 focus:bg-white focus:ring-0 "
232+ class ="mt-1 block w-full rounded-md border-transparent bg-gray-100 focus:border-gray-500 focus:bg-white focus:ring-0 "
233233 rows ="3 "
234234 > </ textarea >
235235 </ label >
@@ -239,7 +239,7 @@ <h2 class="text-2xl font-bold">Solid</h2>
239239 < label class ="inline-flex items-center ">
240240 < input
241241 type ="checkbox "
242- class ="rounded bg-gray-200 border-transparent focus:border-transparent focus:bg-gray-200 text-gray-700 focus:ring-1 focus:ring-offset-2 focus:ring-gray-500 "
242+ class ="rounded border-transparent bg-gray-200 text-gray-700 focus:border-transparent focus:bg-gray-200 focus:ring-1 focus:ring-gray-500 focus:ring-offset-2 "
243243 />
244244 < span class ="ml-2 "> Email me news and special offers</ span >
245245 </ label >
0 commit comments