Sha256: 4c1093dd9c98fa6b433a5841bb9f2c931b3f2762b460c8482942af8c87be69d8
Contents?: true
Size: 1.24 KB
Versions: 29
Compression:
Stored size: 1.24 KB
Contents
<!-- This example requires some changes to your config: ``` // tailwind.config.js module.exports = { // ... plugins: [ // ... require('@tailwindcss/forms'), ], } ``` --> <div> <label for="email" class="block text-sm font-medium text-gray-700">Email</label> <div class="relative mt-1 rounded-md shadow-sm"> <input type="email" name="email" id="email" class="block w-full rounded-md border-red-300 pr-10 text-red-900 placeholder-red-300 focus:border-red-500 focus:outline-none focus:ring-red-500 sm:text-sm" placeholder="you@example.com" value="adamwathan" aria-invalid="true" aria-describedby="email-error"> <div class="pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3"> <!-- Heroicon name: mini/exclamation-circle --> <svg class="h-5 w-5 text-red-500" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true"> <path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z" clip-rule="evenodd" /> </svg> </div> </div> <p class="mt-2 text-sm text-red-600" id="email-error">Your password must be less than 4 characters.</p> </div>
Version data entries
29 entries across 29 versions & 1 rubygems