Form by themrsami
#e8e8e8
HTML +TailwindCSS
1<div class="mt-4 flex flex-col bg-gray-900 rounded-lg p-4 shadow-sm"> 2 <h2 class="text-white font-bold text-lg">Shipping Label Address Form</h2> 3 4 <div class="mt-4"> 5 <label class="text-white" for="name">Name</label> 6 <input placeholder="Your name" class="w-full bg-gray-800 rounded-md border-gray-700 text-white px-2 py-1" type="text"> 7 </div> 8 9 <div class="mt-4"> 10 <label class="text-white" for="address">Address</label> 11 <textarea placeholder="Your address" class="w-full bg-gray-800 rounded-md border-gray-700 text-white px-2 py-1" id="address"></textarea> 12 </div> 13 14 <div class="mt-4 flex flex-row space-x-2"> 15 <div class="flex-1"> 16 <label class="text-white" for="city">City</label> 17 <input placeholder="Your city" class="w-full bg-gray-800 rounded-md border-gray-700 text-white px-2 py-1" id="city" type="text"> 18 </div> 19 20 <div class="flex-1"> 21 <label class="text-white" for="state">State</label> 22 <input placeholder="Your state" class="w-full bg-gray-800 rounded-md border-gray-700 text-white px-2 py-1" id="state" type="text"> 23 </div> 24 </div> 25 26 <div class="mt-4 flex flex-row space-x-2"> 27 <div class="flex-1"> 28 <label class="text-white" for="zip">ZIP</label> 29 <input placeholder="Your ZIP code" class="w-full bg-gray-800 rounded-md border-gray-700 text-white px-2 py-1" id="zip" type="text"> 30 </div> 31 32 <div class="flex flex-row space-x-2"> 33 <div class="flex-1"> 34 <label class="text-white" for="country">Country</label> 35 <select class="w-full bg-gray-800 rounded-md border-gray-700 text-white px-2 py-1" id="country"> 36 <option value="">Select a country</option> 37 38 <optgroup label="Africa"> 39 <option value="AF">Afghanistan</option> 40 <option value="DZ">Algeria</option> 41 <option value="AO">Angola</option> 42 ... 43 <option value="ZW">Zimbabwe</option> 44 </optgroup> 45 46 <optgroup label="Asia"> 47 <option value="AM">Armenia</option> 48 <option value="AZ">Azerbaijan</option> 49 <option value="BH">Bahrain</option> 50 ... 51 <option value="YE">Yemen</option> 52 </optgroup> 53 54 <optgroup label="South America"> 55 <option value="AR">Argentina</option> 56 <option value="BO">Bolivia</option> 57 <option value="BR">Brazil</option> 58 ... 59 <option value="VE">Venezuela</option> 60 </optgroup> 61 62 ... 63 </select> 64 </div> 65 </div> 66 </div> 67 <div class="mt-4 flex justify-end"> 68 <button class="bg-white text-black rounded-md px-4 py-1 hover:bg-blue-500 hover:text-white transition-all duration-200" type="submit">Submit</button> 69 </div> 70</div>
984 views
984 views
MIT License