col-span-full: Tailwind CSS Grid class
The col-span-full class spans the element across all columns, regardless of the grid's column count.
col-span-full
The col-span-full class spans the element across all columns, regardless of the grid's column count.
Example Code
html
<div class="rounded-t-md p-4 bg-indigo-50"> <div class="grid grid-cols-6 gap-4"> <div class="bg-indigo-500 text-white p-4 font-bold text-center col-start-1 col-span-3" > A </div> <div class="bg-indigo-500 text-white p-4 font-bold text-center col-span-3"> B </div> <div class="bg-indigo-500 text-white p-4 font-bold text-center col-start-1 col-end-3" > C </div> <div class="bg-indigo-500 text-white p-4 font-bold text-center col-start-3 col-end-6" > D </div> <div class="bg-indigo-500 text-white p-4 font-bold text-center col-start-1 col-span-full" > E </div> </div></div>
Preview
A
B
C
D
E
Windframe is a drag and drop builder for rapidly building tailwind css websites and UIs
Start building stunning tailwind UIs!
