css.properties

grid-column

The grid-column property specifies a grid item's position on the column axis.

Formal Syntax

grid-column = <grid-line> [ / <grid-line> ]? <grid-line> = auto | <custom-ident> | [ [ <integer [-โˆž,-1]> | <integer [1,โˆž]> ] && <custom-ident>? ] | [ span && [ <integer [1,โˆž]> || <custom-ident> ] ]

See specification

JavaScript Access

// Access via element.style element.style.gridColumn = "auto";

Browser Support

standard | MDN ยท Spec

FeatureChromeFirefoxSafariEdge
grid-column575210.116
auto575210.116

Related Properties