Skip to content
This repository was archived by the owner on Jan 14, 2024. It is now read-only.
This repository was archived by the owner on Jan 14, 2024. It is now read-only.

include class to override the visual order of grid items #8

Description

@DrizzlyOwl

whilst leaving html order alone.

/**
 * Custom fancy float
 */

.#{$gr-item-unit}--omega {
    float: right;
}

Usage:

<div class="grid">
    <div class="grid__item grid__item--omega" id="first"></div>
    <div class="grid__item" id="last"></div>
</div>

Results in #first appearing at the right of the grid instead of at the beginning.

This could be extended upon by inclusion of the breakpoints.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions