-
Notifications
You must be signed in to change notification settings - Fork 1
Row Class
0phoff edited this page Nov 21, 2023
·
3 revisions
This class creates a CSS grid for you to place content in.
Each child of your component will be placed in a separate, equally sized, row.
You can use the grid-row
CSS property to change the placement and number of rows each child uses.
HINT
The row layout is a default layout with this.row
class added to the::content::
slot wrapper.
/
/* Base Styling */
.row {
display: grid;
grid-auto-flow: row;
grid-auto-rows: 1fr;
}
/* Overridable Styling */
:where(.row) {
place-items: center;
}