Kelvin
KPCKevin Powell - Community
•Created by Kelvin on 8/2/2024 in #resources
Responsive Grid Auto-fit with defined Columns
and kps solution would work as a media query hack
14 replies
KPCKevin Powell - Community
•Created by Kelvin on 8/2/2024 in #resources
Responsive Grid Auto-fit with defined Columns
i think my solution is good if multiple breakpoints are needed for a grid
14 replies
KPCKevin Powell - Community
•Created by Kelvin on 8/2/2024 in #resources
Responsive Grid Auto-fit with defined Columns
figured that there was gonna be a fixed width in the equation anyways so might as well just divide the container
14 replies
KPCKevin Powell - Community
•Created by Kelvin on 8/2/2024 in #resources
Responsive Grid Auto-fit with defined Columns
and then subtracted that by the gap
14 replies
KPCKevin Powell - Community
•Created by Kelvin on 8/2/2024 in #resources
Responsive Grid Auto-fit with defined Columns
the way i did it was i passed down the width of the container and divided that by the number of columns
14 replies
KPCKevin Powell - Community
•Created by Kelvin on 8/2/2024 in #resources
Responsive Grid Auto-fit with defined Columns
oh right just saw the video
14 replies
KPCKevin Powell - Community
•Created by Kelvin on 8/2/2024 in #resources
Responsive Grid Auto-fit with defined Columns
also how come youre subtracting one from the column count then multiplying the base gap?
14 replies
KPCKevin Powell - Community
•Created by Kelvin on 8/2/2024 in #resources
Responsive Grid Auto-fit with defined Columns
so i came up with that
14 replies
KPCKevin Powell - Community
•Created by Kelvin on 8/2/2024 in #resources
Responsive Grid Auto-fit with defined Columns
i saw his videos covering grid auto-fit but the problem i encountered was that once an grid child hit its 'min' threshold in a minmax function it wouldn't shrink more
14 replies
KPCKevin Powell - Community
•Created by Kelvin on 8/2/2024 in #resources
Responsive Grid Auto-fit with defined Columns
hm
14 replies