Answers for "css grid auto resize on mobile"

CSS
1

css grid auto resize on mobile

// Fit as many columns as you can in one row
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
Posted by: Guest on June-28-2021

Browse Popular Code Answers by Language