I have got a responsive two-column layout page. When the size of the screen is down to tablet, it becomes a single-column layout, where the first column wont be visible anymore. I have got a div inside the second div, and I want this to be vertically centre aligned.
I am using tailwind along with flexbox.
This is my code so far
<div className="flex min-h-full">
<div className="flex-none w-1/3 min-h-full hidden lg:block">
01
</div>
<div className="grow md:bg-slate-100 h-screen">
<div className="bg-red-400 h-3/5 mx-16"></div>
</div>
</div>
I have tried various options but I am struggling to have the inner div to be center aligned. Currently its sticking to top.