concept
Named grid lines — CSS reference
Line names in square brackets label track boundaries. Placement can use those names; multiple lines can share a name and an occurrence index can disambiguate. Names label lines, not track widths.
Formal Syntax & Structure
css syntaxcss
grid-template-columns: [start] 100px [middle] 200px [end]Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>Named grid lines</title><style>body{margin:0}#g{display:grid;grid-template-columns:[start] 100px [middle] 200px [end];grid-template-rows:40px;}#g>*{background:#146e73;color:white;box-sizing:border-box}#b{background:#345d8e}#c{background:#79518e}</style><body><div id="g"><div id="a" style="grid-column:middle / end">A</div></div></body></html>