(no title)
douglee650 | 7 months ago
I like to format in logical chunks per line, for example here's a pretty complex grid setup that is easy to adjust in the template:
----
<section className="
w-full
px-8 py-16
md:px-16
">
<div className="
grid
gap-2
auto-rows-[minmax(0px,1fr)]
grid-cols-[repeat(1,minmax(4rem,1fr))]
grid-rows-[repeat(1,minmax(4rem,1fr))]
md:grid-cols-[repeat(6,minmax(6rem,1fr))]
md:grid-rows-[repeat(3,minmax(6rem,1fr))]
xl:grid-cols-[repeat(8,minmax(6rem,1fr))]
xl:grid-rows-[repeat(2,minmax(2rem,1fr))]
justify-center
">
----
No comments yet.