Inputs | Jules gitclerc red bear 19
html公开前 25 行,完整代码需登录
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>
<div
class="flex items-center justify-center bg-gray-800 overflow-hidden p-1 border border-white border-opacity-30 rounded-lg shadow-md h-9"
>
<input
class="w-42 h-full border-none outline-none text-sm bg-gray-800 text-white font-semibold caret-orange-500 pl-2"
type="text"
name="text"
id="input"
placeholder="0000 0000 0000 0000"
/>
<div
class="flex items-center justify-center relative w-10 h-6 bg-gray-800 border border-white border-opacity-20 rounded-md"
>
<svg
class="text-white fill-current"
xmlns="http://www.w3.org/2000/svg"
width="23"
height="23"
viewBox="0 0 48 48"
>
<path
fill="#ff9800"
d="M32 10A14 14 0 1 0 32 38A14 14 0 1 0 32 10Z"
></path>