Zum Hauptinhalt springen Seitenleiste
Zum Inhaltsverzeichnis springen

    Grid

    Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

    Use the pc-grid class to create a responsive grid with even spacing, allowing the number of columns to adjust when space is limited.

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

    Demos#

    Card lists#

    Clusters are great for inline lists and aligning items of varying sizes.

    Edit
    Edit

    Sizing#

    By default, grid items will wrap when the grid’s column size is less than 20ch, but you can set a custom minimum column size using the --min-column-size property.

    Edit

    Gap#

    By default, the gap between grid items uses --pc-spacing-m from your theme. You can add any of the following pc-gap-* classes to an element with pc-grid 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

    Span grid#

    You can add the pc-span-grid class to any grid item to allow it to span all grid columns. With this, the grid item occupies its own grid row.

    Edit

    Wir würden uns freuen, von dir zu hören. Bitte kontaktiere uns bei Fragen oder Anliegen, die du hast.

    Du kannst uns per E‐Mail unter placer.coc.reports+contact@gmail.com erreichen.

    Wir freuen uns darauf, von dir zu hören!

    Alles klar!
    Gefährliche Lande

    Ui! Du bist in die gefährlichen Lande von Placer Toolkit geraten. Version 0 ist veraltet und entspricht nicht den EU‐Datenschutzstandards, einschließlich DSGVO.

    Willst du die neuesten Kräfte, Sicherheit und Compliance? Bleib bei der aktuellen Version von Placer Toolkit!

    Ups! Aufladen!