@Divadovitch
Posted
Hi yoyov51234,
Congratulations on this project.
For the minimal size I think you can use minmax
like minmax(350px, 1fr)
so 350px in this case is the minimal size and 1fr is the maximal size, in this way the size of the cards will not shrink past 350px.
For the minmax
and the use of auto-fill
in use with css grid, you can read this article.
This minimum size will be determined based on the content and the readability of the card. It's more of a design choice.
Hope this help
Marked as helpful
@yoyov51234
Posted
@Divadovitch
Thank you for the suggestion! I will look through the article and update the code : )