skip to Main Content

Html – How to set a limit to height growing text area

I have this: <div class="overflow-scroll resize-none w-full max-w-full flex flex-col-reverse"> <textarea id="content" rows="1" class="min-h-full bg-white rounded shadow px-6 py-4 w-full max-w-full resize-none" placeholder="Type here..." oninput="this.style.height = ''; this.style.height = this.scrollHeight + 'px'" style="overflow: hidden;" ></textarea> </div> The component is then…

VIEW QUESTION

Css – How to remove steps from being over the drawer

I'm using DaisyUI and TailwindCSS I'm using a drawer and steps. <div class="drawer"> <input id="my-drawer" type="checkbox" class="drawer-toggle" /> <div class="drawer-content"> <!-- Page content here --> <label for="my-drawer" class="btn btn-primary drawer-button">Open drawer</label> <ul class="steps"> <li class="step step-primary">Register</li> <li class="step step-primary">Choose plan</li>…

VIEW QUESTION

Html – Margins with constant size in Tailwind CSS

I have the following HTML element, which appears as shown. <div className="flex col-span-2 row-span-2 h-screen border-blue-500 border-4 justify-center items-center"> <div className='flex bg-blue-300 h-full w-full justify-center items-center '> <div className='text-4xl'>some text</div> </div> </div> I would like to have a margin between…

VIEW QUESTION
Back To Top
Search