CSS, Web, Web Development, Layout.
grid-template-rows on the Grid container, the browser sets the Grid container to the Grid content size by default: This method also applies to CSS Grid containers with multiple child elements (Grid projects), such as: <!-- HTML --> <div class="grid__container"> <div class="avatar">:)</div> <div