Grid items are aligned at the start of the grid container in the inline direction by default, and the blue div is set to 'end' in the inline direction with justify-self property. Inline direction is moved from horizontal to downwards direction with the writing-mode property, so now the end of the contianer in the inline direction is at the bottom of the contianer instead of to the right of it.