CSSのrepeat()関数
CSSグリッドのプロパティ grid-template-columns と grid-template-row の中で使うことができる。
第一引数は反復回数を指定する。1以上の整数値かauto-fillまたはauto-fitを指定する。 第二引数は繰り返されるトラックの組み合わせを指定する。
grid-template-columns: repeat(2, 20px 1fr);
frはfractionの略で比率を表す。親要素から見た子要素の比率を指定できる。
参考
https://developer.mozilla.org/ja/docs/Web/CSS/repeat