read repeat-auto-minmax
npm install --save-dev tailwindcss-ram
<div class="grid cols-fit-40 white">
<div class="box">1</div>
<div class="box">2</div>
<div class="box">3</div>
<div class="box">4</div>
</div>
<div class="grid cols-fit-[200px]"></div>
you can choose repeat mode
<div class="grid cols-fill-52"></div>
<div class="grid cols-fit-52"></div>