Direct link to the article grid-row

grid-row

The grid-row CSS property is a shorthand that specifies the row grid lines where a grid item starts and ends in a grid layout, and does it in a single declaration.

.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.grid-item:nth-child(2) 
Avatar of Mojtaba Seyedi
Mojtaba Seyedi on