align-self
Widely availableSince 201597% of users
Allows you to override the default alignment for a single item inside a Flex or Grid container. While 'align-items' sets the default for everyone, 'align-self' lets one item 'do its own thing'.
What's modern
From web-features, MDN's browser data and our snippets, checked dailyClassic, with newer partsIt has worked everywhere since September 2015, and it keeps getting newer values.
Newer parts of align-self
anchor-centerBaseline Jan 2026Supported in absolutely-positioned boxesBaseline Sept 2025safeBaseline Jul 2024unsafeBaseline Jul 2024last baselineBaseline Dec 2022, Widely Jun 2025self-endBaseline Jul 2022, Widely Jan 2025self-startBaseline Jul 2022, Widely Jan 2025endBaseline Mar 2022, Widely Sept 2024
See how modern your own CSS is.Check your CSS →
Quick facts
- Initial value
auto- Inherited
- No
- Applies to
- flex items, grid items, and absolutely positioned boxes
- Animation type
- discrete
Quick example
.special-item {
align-self: center;
/* this specific item will be centered, regardless of other items */
}Values
autonormalstretchanchor-centeralign-self browser support
BaselineWidely availableThis feature is well established and works across many devices and browser versions. It has been available across browsers since 2015.Safe to use without fallbacks.
Usage97%of people can use this3% use a browser without it.
Browsers
29+
20+
9+
12+Mobile
29+Android
20+Android
9+iOS