How to make div fill full height of parent in tailwind
问题 I am using tailwind in my Vuejs app. I have this simple template <template> <div class="bg-gray-500 h-screen"> <Header /><!-- //height 32 --> <div class="w-2/3 mx-auto p-4 text-lg bg-white h-full shadow-lg"> <router-view /> </div> </div> </template> The div with h-screen is the root or my app. The component <header> has a tailwind height of h-32 The problem is that the second div causes the page to scroll at the bottom, the height of the <header> (h-32). What I want to do If there is no