CSS -rooster-kolom-begin Eiendom
Voorbeeld
Laat "item1" in kolom 2 begin:
.item1 {
grid-column-start: 2;
}
Definisie en gebruik
Die grid-column-start
eiendom definieer op watter kolomreël die item sal begin.
Standaard waarde: | outo |
---|---|
Geërf: | geen |
Animateerbaar: | ja. Lees oor animeerbaar |
Weergawe: | CSS Grid Uitleg Module Vlak 1 |
JavaScript-sintaksis: | objek .style.gridColumnStart="3" |
Blaaierondersteuning
Die nommers in die tabel spesifiseer die eerste blaaierweergawe wat die eiendom ten volle ondersteun.
Property | |||||
---|---|---|---|---|---|
grid-column-start | 57 | 16 | 52 | 10 | 44 |
CSS-sintaksis
grid-column-start: auto|span n|column-line;
Eiendomswaardes
Value | Description | Play it |
---|---|---|
auto | Default value. The item will be placed following the flow | |
span n | Specifies the number of columns the item will span | |
column-line | Specifies on which column to start the display of the item |
Verwante bladsye
CSS handleiding: CSS Grid Uitleg
CSS -verwysing: Die roosterkolom Eiendom
CSS verwysing: Die rooster-kolom-einde Eiendom
CSS verwysing: Die rooster-ry-begin Eiendom
CSS verwysing: Die rooster-ry-end Eiendom