justify-tracks CSS property sets the alignment in the masonry axis for grid containers that have masonry in their inline axis.
/* Keyword values */ justify-tracks: start; justify-tracks: space-between; justify-tracks: center; justify-tracks: start,center,end; /* Global values */ justify-tracks: inherit; justify-tracks: initial; justify-tracks: unset;
The property can take a single value, in which case all tracks are aligned in the same way. If a list of values is used then the first value applies to the first track in the grid axis, the second to the next, and so on.
If there are fewer values than tracks, the last value is used for all remaining tracks. If there are more values than tracks, any additional values are ignored.
The items stretch along the masonry axis to fill the content box. Items with definite size do not stretch.
The items are packed flush to each other toward the left edge of the alignment container.
The items are packed flush to each other toward the right edge of the alignment container.
Value not found in DB!
Syntax not found in DB!
|CSS Grid Layout Module Level 3 |
The definition of 'justify-tracks' in that specification.
|Editor's Draft||Initial definition|
No compatibility data found. Please contribute data for "css.properties.align-tracks" (depth: 1) to the MDN compatibility data repository.
© 2005–2020 Mozilla and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.