4 ms·
`order` starts at 0. https://developer.mozilla.org/en-US/docs/Web/CSS/order https://developer.mozilla.org/en-US/docs/Web/CSS/order
by brianzelip 10y ago
`order` starts at 0.
https://developer.mozilla.org/en-US/docs/Web/CSS/order https://developer.mozilla.org/en-US/docs/Web/CSS/order
- chain18 10y ago`order` is a little bit different though as it doesn't set the position. Instead "Elements are laid out in the ascending order of the order value". So an element with order: 1 will move to the end in a group of elements with no order defined, similar to z-index I guess. Example: https://jsfiddle.net/5uvpco6e/ https://jsfiddle.net/5uvpco6e/