Skip to content

Question: How to use grid-template-areas? #179

@kollster

Description

@kollster

I can't quite figure out how to use grid-template-areas with Griffel (using "@griffel/react": "^1.2.3",). I have looked through the documentation and shorthands with no avail.

I am trying to make the equivalent of something like this css:

.layout {
  display: grid;
  grid-template-areas:
    "header header"
    "nav    main  "
    "footer footer";
}

.header {
  grid-area: header;
}

Any help on how to do this will be greatly appreciated.

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