<link href="https://cdn.jsdelivr.net/npm/tailwindcss/dist/tailwind.min.css" rel="stylesheet"/> <div class="flex flex-col justify-center bg-gray-100"> <div class="text-gray-800 text-center bg-gray-300 px-4 py-2 m-2">1</div> <div class="text-gray-800 text-center bg-gray-30...
1 Tailwind CSS html section not taking padding bottom 0 DIV alignments using Tailwind CSS 2 Position elements to the bottom of a div with tailwindcss 3 Fix Element at Bottom of the Screen, but only as long as the Parent Container hasn't ended? Hot Network Questions Were US men an...
.container { height: 180px; width:100%; background-color: blueviolet; } .container > div { background-color: white; padding: 1rem; } .center { display: flex; align-items: center; justify-content: center; } <div class="container center"> <div>I am in Center</div> </div> Run co...
<linkrel="stylesheet"href="https://cdn.jsdelivr.net/npm/tailwindcss/dist/tailwind.min.css"><divclass="flex flex-col h-screen my-auto items-center bgimg bg-cover"><h3class="text-white">heading</h3><buttonclass="mt-2 bg-white text-black font-bold py-1 px-8 rounded m-2">call to...