Skip to content
Get ready for the next version of Yumma CSS, which is going to be amazing!

Align Self

Controls the positioning of a single flex or grid element along the transverse axis of its container.

Class Property

as-auto

align-self: auto;

as-b

align-self: baseline;

as-c

align-self: center;

as-fe

align-self: flex-end;

as-fs

align-self: flex-start;

as-s

align-self: stretch;

Using responsive modifiers

Using responsive breakpoints like sm:as-*, md:as-*, lg:as-*, and xxl:as-* allows targeting specific utilities in different viewports.

<div class="as-s md:as-e ..."></div>

Using hover modifiers

Using :hover modifiers such as h:as-* allows you to override elements and change their values when hovering over them.

<div class="as-s h:as-e ..."></div>