tailgrids
Version:
Handcrafted Library of Tailwind CSS UI Components & Blocks for HTML, React and Vue.
38 lines (36 loc) • 1.36 kB
HTML
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>File Upload | TailGrids</title>
<link
rel="shortcut icon"
href="../../assets/images/favicon.svg"
type="image/x-icon"
/>
<link rel="stylesheet" href="../../assets/css/tailwind.css" />
</head>
<body>
<!-- ====== File Upload Start -->
<section class="bg-white py-20 dark:bg-dark">
<div class="container">
<div class="w-full max-w-[400px]">
<label
class="mb-2.5 block text-base font-medium text-dark dark:text-white"
>
Upload a File:
</label>
<div class="relative">
<input
type="file"
class="w-full rounded-lg border border-stroke p-3 text-body-color outline-hidden duration-200 file:mr-4 file:rounded-sm file:border-[.5px] file:border-stroke file:bg-gray-3 file:px-3 file:py-1 file:text-base file:text-dark focus:border-primary active:border-primary dark:border-dark-3 dark:text-dark-6 dark:file:border-dark-3 dark:file:bg-dark-3 dark:file:text-white"
/>
</div>
</div>
</div>
</section>
<!-- ====== File Upload End -->
</body>
</html>