css grid repeat fit height if height smaller than other code example Example: css grid make all rows same height grid-auto-rows: 1fr;