Suggest an editImprove this articleRefine the answer for “What does repeat() do in Grid?”. Your changes go to moderation before they’re published.Approval requiredContentWhat you’re changing🇺🇸EN🇺🇦UAPreviewTitle (EN)Short answer (EN)**`repeat()`** shortens the notation for repeating columns or rows in Grid: `repeat(N, X)` means "repeat the value X N times". **Key point:** `repeat()` makes the code shorter and more convenient when creating grids of identical columns or rows.Shown above the full answer for quick recall.Answer (EN)Image`repeat()` shortens the notation for repeating columns or rows in Grid. Format: ```css grid-template-columns: repeat(3, 1fr); ``` Equivalent to: ```css grid-template-columns: 1fr 1fr 1fr; ``` That is, `repeat(N, X)` means: **repeat the value** `X` **N times**. Examples: ```css repeat(4, 100px) /* 4 columns of 100px each */ repeat(2, 200px 1fr) /* repeat the sequence 200px + 1fr twice */ repeat(auto-fill, 1fr) /* automatically fill the row with 1fr columns */ ``` **Purpose:** makes the code shorter and more convenient when creating grids of identical columns/rows.For the reviewerNote to the moderator (optional)Visible only to the moderator. Helps review go faster.