Skip to main content Sidebar
On this page
Skip to table of contents

Stack

Use the pc-stack class to arrange elements in a vertical column with even spacing, ensuring a consistent rhythm in the document flow.

<div class="stack-overview pc-stack">
    <div></div>
    <div></div>
    <div></div>
</div>

<style>
    .stack-overview div:empty {
        min-inline-size: 4rem;
        min-block-size: 4rem;
        background-color: var(--pc-color-indigo-60);
        border-radius: var(--pc-border-radius-m);
    }
</style>
Code Edit

Demos

Forms and text

Stacks are well‐suited for forms and text, which ensures consistent spacing between elements in the document flow.

Edit
Edit

Align items

By default, items stretch to fill the inline size of the pc-stack container. You can add any of the following pc-align-items-* classes to an element with pc-stack to specify how items are aligned in the inline direction:

  • pc-align-items-start
  • pc-align-items-end
  • pc-align-items-center
  • pc-align-items-stretch
  • pc-align-items-baseline
Edit

Gap

By default, the gap between stack items uses --pc-spacing-m from your theme. You can add any of the following pc-gap-* classes to an element with pc-cluster to specify the gap between items.

  • pc-gap-0
  • pc-gap-xxxs
  • pc-gap-xxs
  • pc-gap-xs
  • pc-gap-s
  • pc-gap-m
  • pc-gap-l
  • pc-gap-xl
  • pc-gap-xxl
  • pc-gap-xxxl
  • pc-gap-xxxxl
  • pc-gap-xxxxxl
Edit

We’d love to hear from you. Please reach out to us with any questions or enquiries you may have.

You can contact us via e‐mail at placer.coc.reports+contact@gmail.com.

We look forward to hearing from you!

Got it!
Dangerous lands

Whoa! You’ve wandered into the dangerous lands of Placer Toolkit. Version 0 is out of date and doesn’t meet EU privacy standards, including GDPR.

Want the latest powers, security and compliance? Stick with the current version of Placer Toolkit!

Yikes! Power up!

Our site is 100 % cookie‐free! We value your privacy, which is why we don’t store any cookies or personal information related to you.

Your browser history is safe from crumbs, and your data is protected, aligning with modern privacy standards like the GDPR. Enjoy your visit without a single digital cookie in sight! 🍪🚫

View our Privacy Policy for more information.

Got it!