CSS, Web, Web Development, Layout.
grid-template-columns: repeat(2, 1fr); gap: 2vh; } .grid__item { display: grid; place-items: center; } The effect is as follows: For more detailed information on this, please read: Building Classic Layouts with Flexbox: 10 Classic Web Layouts Building Classic Layouts with Grid: 10 Classic Layouts