Use the repeat function to efficiently write grid-template values

InstructorRory Smith

Share this video with your friends

Send Tweet

We can use the repeat() function if we have repeating specifications for columns and rows. With the minmax() function, we can define a size range for our grid items. Let’s see how to apply these properties, and how it affects the behaviour of our grid layout.