alignSelf

inline fun Style.alignSelf(align: YogaAlign): Style

Defines how a child should be aligned with a Row or Column, overriding the parent's align-items property for this child.

  • See https://css-tricks.com/snippets/css/a-guide-to-flexbox/ for more documentation on flexbox properties.

  • See https://yogalayout.dev/ for a web-based playground for trying out flexbox layouts.