css.properties

justify-self

The justify-self property justifies a grid item along the inline axis.

Formal Syntax

justify-self = auto | normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | anchor-center <baseline-position> = [ first | last ]? && baseline <overflow-position> = unsafe | safe <self-position> = center | start | end | self-start | self-end | flex-start | flex-end

See specification

JavaScript Access

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

Browser Support

standard | MDN ยท Spec

FeatureChromeFirefoxSafariEdge
justify-self574510.116
anchor-center12514726125
auto574510.179
block_context130โ€”โ€”130
grid_context574510.116
left574510.179
normal574510.179
position_absolute_context122134โ€”122
right574510.179
stretch574510.179

Related Properties