Skip to content

"Place" mixin #1

Description

@brob

Part of the power of grid is being able to place items across both x and y axis. I'm not sure if this is a refactor of the span mixin or a new mixin on top of that, but I think having a full-featured "placement" mixin would be interesting.

I played with an implementation, but Sass doesn't dig on the Grid notation of grid-column: start / end

Potential Example output:

.placed-item {
        align-self: end; // Adds dynamic alignments to the grid item (default to stretch)
        grid-column: 1 / 3;
        grid-row: 1 / 2;
}

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions