Skip to content

Stack Class

0phoff edited this page Nov 21, 2023 · 3 revisions

This class creates a CSS flexbox for you to place content in.

HINT
The stack layout is a default layout with this .stack class added to the ::content:: slot wrapper.

Variables

/

CSS

/* Base Styling */
.stack {
    display: flex;
}

/* Overridable Styling */
:where(.stack) {
    flex-direction: column;
    align-items: center;
    justify-content: center;
}