Forms | themrsami tame bear 4
html公开前 25 行,完整代码需登录
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>
<div class="mt-4 flex flex-col bg-gray-900 rounded-lg p-4 shadow-sm">
<h2 class="text-white font-bold text-lg">Shipping Label Address Form</h2>
<div class="mt-4">
<label class="text-white" for="name">Name</label>
<input placeholder="Your name" class="w-full bg-gray-800 rounded-md border-gray-700 text-white px-2 py-1" type="text">
</div>
<div class="mt-4">
<label class="text-white" for="address">Address</label>
<textarea placeholder="Your address" class="w-full bg-gray-800 rounded-md border-gray-700 text-white px-2 py-1" id="address"></textarea>
</div>
<div class="mt-4 flex flex-row space-x-2">
<div class="flex-1">
<label class="text-white" for="city">City</label>
<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">
</div>
<div class="flex-1">
<label class="text-white" for="state">State</label>
<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">
</div>
</div>