The grid-row property gets or sets a value that indicates which row an element within a Grid should appear in. Shorthand for setting grid-row-start and grid-row-end in a single declaration.

  • Initial valueSee individual properties
  • Applies toGrid Items
  • InheritedNo
  • MediaVisual
  • Computed valueSee individual properties
  • AnimatableNo
  • CSS VersionCSS3
  • JavaScript
Formal syntax: <grid-line> [ / <grid-line> ]?

grid-row: 1 / 3;
  • <grid-line> [ / <grid-line> ]
.class {
   grid-rows: 4em (0.25em 1em); 

Last updated on 23rd March 2014 By Rene Spronk

View All CSS Properties

Errors? Please help to keep this list up to date, If you find any errors, please contact us, so that we can get them fixed.