[ Home / About / Contact / WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/css/ - CSS Masters

Advanced styling, animations & modern CSS techniques
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1795760407936.jpg (118.7 KB, 1024x920, img_1795760398325_x5k2qdgd.jpg)ImgOps Exif Google Yandex

a2673 No.2548

spent all morning fighting a layout because i used auto-fill instead of auto-fit on a product grid. it looks totally broken when there's only two items in the row since they just hug the left side instead of stretching to fill the space. i keep forgetting that auto-fill basically creates empty tracks even if nothing's in them, which is smart annoying as hell for responsive cards.

grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));


does anyone actually prefer auto-fill for anything specific?


[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ Home / About / Contact / WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]