Windframe
Build Tailwind UIs that actually look good!
.jpg)
The col-span-full class spans the element across all columns, regardless of the grid's column count.
Try each class live and inspect the CSS output.
grid grid-cols-3display: grid; grid-template-columns: repeat(3,minmax(0,1fr));The col-span-full class spans the element across all columns, regardless of the grid's column count.
1<div class="rounded-t-md p-4 bg-indigo-50">2 <div class="grid grid-cols-6 gap-4">3 <div4 class="bg-indigo-500 text-white p-4 font-bold text-center col-start-1 col-span-3"5 >6 A7 </div>8 <div class="bg-indigo-500 text-white p-4 font-bold text-center col-span-3">9 B10 </div>11 <div12 class="bg-indigo-500 text-white p-4 font-bold text-center col-start-1 col-end-3"13 >14 C15 </div>16 <div17 class="bg-indigo-500 text-white p-4 font-bold text-center col-start-3 col-end-6"18 >19 D20 </div>21 <div22 class="bg-indigo-500 text-white p-4 font-bold text-center col-start-1 col-span-full"23 >24 E25 </div>26 </div>27</div>
A
B
C
D
E
Add the col-span-full class directly to your HTML element:
1<div class="col-span-full">2 <!-- Your content here -->3</div>
Use Tailwind's responsive prefixes to apply col-span-full at specific breakpoints:
1<div class="sm:col-span-full md:col-span-full lg:col-span-full">2 Responsive element3</div>
sm:col-span-full — applies from 640px and upmd:col-span-full — applies from 768px and uplg:col-span-full — applies from 1024px and upYou can extend or override this utility in your tailwind.config.js. See the Tailwind CSS documentation for details on customizing your theme.
Windframe is an AI visual editor for rapidly building stunning web UIs & websites
