Align self
noun
say it: “uh-LYN SELF” /əˈlaɪn sɛlf/
The CSS property that lets one flex or grid item line up differently from the others across the main direction.
What does align-self do?
align-self lets one item line up differently from the rest on the cross axis.
.card .buy-button { align-self: flex-end; }
In a sentence
- “The toolbar's items are centered, but the help icon has align-self: flex-start, so it sits at the top.”
Level: Journeyman · More CSS terms at this level
Updated