Relative Content

Tag Archive for htmlcsstailwind-css

Cant get sidemenu button to be sticky

I need assistance in making the component within my grid sticky, i am using tailwindcss react/nextjs. The “back button” is just a button, the “footer” is just my name and the {children} element is a two screen tall wall of text.
Layout component, wrapping page.tsx:

tailwind/css div won’t expand

I’m trying to get the light blue div to take up the whole screen space, but it won’t. Additionally, the dark blue div shows even when no content is in it, but not the light blue one despite setting max-height (tried with min-height too)

Extend a div outside the table

Using tailwind, I have a div with class set to “overflow-auto”, and a table as its child. How can I make it so that the absolute div inside one of its cells extend beyond the overflowing div?