CSS Grid - repeatable template areas
问题 I'm interested does CSS Grid has feature to create repeatable grid-template-areas ? To explain the feature i created this example, .grid { display: grid; grid-template-columns: repeat(3, 1fr) 6rem; grid-template-areas: '. . . button' '. . . button' '. . . button' '. . . button'; grid-gap: 1rem; } .item { background: #add8e6; padding: 1rem; } .button { grid-area: button; background: #ffc0cb; padding: 1rem; } <div class="grid"> <div class="item">Item</div> <div class="item">Item</div> <div