© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
using max-content in minmax - Kevin Powell - Community
KP-C
Kevin Powell - Community
•
14mo ago
•
1 reply
Micah
using max-content in minmax
Hi
, I
'm trying to achieve a grid using
grid-template-columns: repeat(auto-fit, minmax(max-content, 1fr));
grid-template-columns: repeat(auto-fit, minmax(max-content, 1fr));
Unfortunately max
-content is not an allowed property here
. Is there any known workaround to achive such behavior
?
Kevin Powell - Community
Join
A friendly place for developers to meet other devs, ask questions, get help, and just have a good time 🙂.
36,263
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
grid minmax
KP-C
Kevin Powell - Community / front-end
2y ago
min-height: max-content;
KP-C
Kevin Powell - Community / front-end
3y ago
Using escaped unicode in content
KP-C
Kevin Powell - Community / front-end
2y ago
grid minmax | minimum size
KP-C
Kevin Powell - Community / front-end
2y ago