desandro / colcade

Lightweight masonry layout
488 stars 21 forks source link

Define column manually #13

Closed zoltanseer closed 6 years ago

zoltanseer commented 6 years ago

Is there a way to define manually which item goes to which column? Example:

<div class="grid" data-colcade="columns: .grid-col, items: .grid-item">
    <div class="grid-col grid-col--1"></div>
    <div class="grid-col grid-col--2"></div>

    <div class="grid-item place-to-col-1">In col 1</div>
    <div class="grid-item place-to-col-2">In col 2</div>
    <div class="grid-item place-to-col-2">In col 2</div>
    <div class="grid-item place-to-col-1">In col 1</div>
    <div class="grid-item place-to-col-1">In col 1</div>
</div>
desandro commented 6 years ago

Sorry, nope. Colcade does not support this feature.