CSS grid-column-start property
Example
Set "item1" to start at column 2:
.item1
{
grid-column-start:
2
;
}
Try it »
Browser support
The numbers in the table indicate the first browser version that supports this property.
| property | |||||
|---|---|---|---|---|---|
| grid-column-start | 57 | 16 | 52 | 10 | 44 |
Property definition and usage
The grid-column-start property defines which column a grid item starts at.
| Default value: | auto |
|---|---|
| Inherited: | no |
| Animatable: | support. Read about animatable Try it |
| Version: | CSS Grid Layout Module Level 1 |
| JavaScript syntax: | object.style.gridColumnStart="3" Try it |
Syntax
grid-column-start: auto|span n|column-line;
| Value | Description |
|---|---|
| * auto * | Default value; the grid item is placed according to the normal flow. |
| span n | Specifies the number of columns the grid item will span. |
| column-line | Specifies which column the grid item starts displaying at. |
Related Articles
CSS Tutorial: CSS Grid Layout
CSS Reference Manual: grid-column property
CSS Reference Manual: grid-column-end property
CSS Reference Manual: grid-row-start property
CSS Reference Manual: grid-row-end property