css grid maintain sizing just shrink code example Example: repeat autofill css grid minmax grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));