Input by Jules-gitclerc
#e8e8e8
HTML +TailwindCSS
1<div 2 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" 3> 4 <input 5 class="w-42 h-full border-none outline-none text-sm bg-gray-800 text-white font-semibold caret-orange-500 pl-2" 6 type="text" 7 name="text" 8 id="input" 9 placeholder="0000 0000 0000 0000" 10 /> 11 <div 12 class="flex items-center justify-center relative w-10 h-6 bg-gray-200 border border-white border-opacity-20 rounded-md" 13 > 14 <svg viewBox="0 0 256 83" width="33" xmlns="http://www.w3.org/2000/svg"> 15 <defs> 16 <linearGradient 17 y2="100%" 18 y1="-2.006%" 19 x2="54.877%" 20 x1="45.974%" 21 id="logosVisa0" 22 > 23 <stop stop-color="#222357" offset="0%"></stop> 24 <stop stop-color="#254AA5" offset="100%"></stop> 25 </linearGradient> 26 </defs> 27 <path 28 transform="matrix(1 0 0 -1 0 82.668)" 29 d="M132.397 56.24c-.146-11.516 10.263-17.942 18.104-21.763c8.056-3.92 10.762-6.434 10.73-9.94c-.06-5.365-6.426-7.733-12.383-7.825c-10.393-.161-16.436 2.806-21.24 5.05l-3.744-17.519c4.82-2.221 13.745-4.158 23-4.243c21.725 0 35.938 10.724 36.015 27.351c.085 21.102-29.188 22.27-28.988 31.702c.069 2.86 2.798 5.912 8.778 6.688c2.96.392 11.131.692 20.395-3.574l3.636 16.95c-4.982 1.814-11.385 3.551-19.357 3.551c-20.448 0-34.83-10.87-34.946-26.428m89.241 24.968c-3.967 0-7.31-2.314-8.802-5.865L181.803 1.245h21.709l4.32 11.939h26.528l2.506-11.939H256l-16.697 79.963zm3.037-21.601l6.265-30.027h-17.158zm-118.599 21.6L88.964 1.246h20.687l17.104 79.963zm-30.603 0L53.941 26.782l-8.71 46.277c-1.022 5.166-5.058 8.149-9.54 8.149H.493L0 78.886c7.226-1.568 15.436-4.097 20.41-6.803c3.044-1.653 3.912-3.098 4.912-7.026L41.819 1.245H63.68l33.516 79.963z" 30 fill="url(#logosVisa0)" 31 ></path> 32 </svg> 33 </div> 34</div> 35
500 views
Variation of ainput
MIT License