CSS, Web, Web Development, Layout.
the CSS code. Use fr to divide the grid into equal values, that is, each column width is 1 of fr ; with the repeat() function, that is, repeat(12,1fr) creates a 12-column grid Using gap can be used to control the spacing between grids With minmax() , you can also set the minimum value of the grid