Kevin Powell - CommunityKP-C
Kevin Powell - Community9mo ago
2 replies
noob

Is it possible to make input element fit-content with css?

Hi guys, I wonder if it is possible to make input element fit-content with CSS (I'm using tailwind css)? I tried, but it does not work
  <div>
    <input className="w-fit"/>
  </div>
Was this page helpful?