Update subgrid value (#1797)

This commit is contained in:
Axel Ingadi 2022-11-01 06:29:15 +03:00 committed by GitHub
parent 5f5ce3eb83
commit b7f08ce1e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -17,7 +17,6 @@ prism_languages: [css]
/* Display properties */
display: grid;
display: inline-grid;
display: subgrid;
```
```css
@ -26,8 +25,10 @@ prism_languages: [css]
grid-template-columns: 25% 50% 25%; /* Percentage units */
grid-template-columns: 1rem auto 1rem 2fr; /* Fill remaining widths with auto or fr units */
grid-template-columns: repeat(12, 1fr); /* Repeat columns without needing to write them */
grid-template-columns: subgrid; /* Use column tracks defined on parent grid */
grid-template-rows: 1rem 10% auto repeat(5, 10px); /* Mix any group, same rules work for rows */
grid-template-rows: subgrid; /* Use row tracks defined on parent grid */
```
```css