Grid Layout Columns and Rows in CSS


Define the layout of a grid container with grid-template-columns and grid-template-rows.

Source Code

.grid-container {
    display: grid;
    grid-template-columns: auto auto auto;
    grid-template-rows: 80px 200px;
}
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments