The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
-ms-grid-row-align property
Gets or sets a value that specifies the vertical alignment of the object within the grid row.
This property is read/write.
![]() ![]() |
Syntax
-ms-grid-row-align: start | end | center | stretch
Property values
One of the following vertical alignments:
start-
The object is placed at the top of the row.
end-
The object is placed at the bottom of the row.
center-
The object is centered within the row.
stretch-
Initial value. The object is stretched to completely fill the height that is available in the row.
CSS information
| Applies To | grid item elements |
|---|---|
| Media | visual paged |
| Inherited | no |
| Initial Value | stretch |
Standards information
- CSS Grid Layout, Section 7
See also
- a
- abbr
- acronym
- address
- b
- bdo
- big
- blockQuote
- br
- button
- cite
- code
- CSSStyleDeclaration
- currentStyle
- dd
- del
- dfn
- div
- dl
- dt
- em
- fieldSet
- form
- i
- img
- input
- ins
- kbd
- label
- li
- map
- noFrames
- noScript
- object
- ol
- p
- pre
- q
- samp
- script
- select
- small
- span
- strong
- style
- sub
- sup
- table
- tBody
- td
- textArea
- tFoot
- th
- tHead
- tr
- tt
- ul
- var
- -ms-grid-rows
Show:

