The grid-column-end property sets a grid item’s ending column edge. You can use a line number, a named line, or span to stretch from the start edge.
It is a longhand of grid-column (with grid-column-start). Set it on the item, not the container. It is not inherited. The initial value is auto (default span of 1).
Standard-track.
Not deprecated and not experimental. Baseline Widely available since 2017. Part of modern CSS Grid Layout.
Syntax
CSS Syntax
syntax.css
grid-column-end:<grid-line> | initial | inherit;
A grid line can be auto, a number such as 3, -1, a name, or span 2.
Start at the first line.grid-column-start: 1 pins the left edge.
End at the last line.-1 is the final column line of the explicit grid.
Cover every column. On three columns, that spans the full width.
Same as shorthand.grid-column: 1 / -1 writes both edges at once.
Edge Cases & Pitfalls
If the width looks wrong, check the start line and how you count.
target
Set it on the item, not the container
grid-column-end places children. The container defines tracks with grid-template-columns.
lines
End line is after the last track you want
To cover columns 1 and 2, end at line 3, not 2. Lines sit between tracks.
start
End alone still needs a start
If start is auto, the browser picks a start and applies your end or span from there.
zero
Line 0 is invalid
Use positive lines from the start, or negative lines from the end. Never 0.
short
Prefer grid-column for both edges
When you set start and end together, grid-column: 1 / 3 is clearer than two longhands.
Compatibility
Browser Support
grid-column-end is a browser CSS property for Grid item placement. Node.js, Deno, and Bun do not apply it.
✓ Baseline · Widely available
grid-column-end
Supported in Chrome 57+, Firefox 52+, Safari 10.1+, and Edge 16+. Internet Explorer does not support the modern property.
97%Global support
Google Chrome57+
Full support
Mozilla Firefox52+
Full support
Apple Safari10.1+
Full support
Microsoft Edge16+
Full support
Opera44+
Full support
Samsung Internet6.2+
Full support
Internet ExplorerNo modern Grid
Not supported
grid-column-endWidely supported
Bottom line: Safe in current browsers. Use a line number, span, or -1 for the last line; prefer grid-column when setting both edges.
Remember
Key Takeaways
Role: set where a grid item’s columns stop.
Longhand ofgrid-column, with grid-column-start.
Initial:auto. Not inherited.
Tip:-1 is the last column line of the explicit grid.
One line:grid-column-end chooses the right edge of an item’s column range.
Frequently Asked Questions
It sets the column line where a grid item stops, or how many columns it spans from its start edge.
The initial value is auto, which usually means a default span of 1 from the start line.
grid-column-end sets only the ending edge. grid-column is the shorthand for both grid-column-start and grid-column-end.
The item’s end edge is two column tracks away from its start edge, so it covers two columns.
Yes. Negative numbers count from the end of the explicit grid. For example, -1 is the last column line.
It is Baseline Widely available: Chrome 57+, Firefox 52+, Safari 10.1+, and Edge 16+. Internet Explorer does not support the modern property. It is a browser CSS property, not a Node.js feature.