Setting grid items to not Overlap when sharing the same row and column
问题 Right now, when two grid items share the same row and column they overlap each over. <div class="some-grid-container"> <div style="grid-row: 1; grid-column: 1">Item 1</div> <div style="grid-row: 1; grid-column: 1">Item 2</div> </div> How do I them not overlap? Probably behave like flex items when sharing the same row and column. (Without making an outer container). 回答1: Your syntax is not correct. Inline styles are not using those braces "{", "}". And additionally you need to specify the