Back to TILs

Today I Learned

CSS Grid minmax() for responsive layouts

Create responsive grids without media queries: ```css .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; } ``` This automatically adjusts the number of columns based on available space!

Learned something new? Share it with others!