Skip to content

[css-grid] Is it possible to have different grid column gaps for different rows? #1661

Closed
@praveenpuglia

Description

@praveenpuglia

The question pretty much sums it up. Currently, there's no way we can have a single grid container with multiple rows and apply different grid column gaps between cells.

Right now, they way I do it is wrap the elements in another grid container and define the new grid-column-gap there.

I am not sure of possible breaks it might bring into the system but would love to have inputs on it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions