css.properties

align-self

The align-self property overrides the align-items value for an individual flex item.

Formal Syntax

align-self = auto | normal | stretch | <baseline-position> | <overflow-position>? <self-position> | 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.alignSelf = "auto";

Browser Support

standard | MDN ยท Spec ยท Spec

FeatureChromeFirefoxSafariEdge
align-self2920912
anchor-center12514726125
auto2128779
flex_context3620712
grid_context575210.116
normal2128779
position_absolute_context122134โ€”122
stretch2128779

Related Properties