Home
CSS
CSS Grid Columns, Rows and Gaps
Tryit: The gap shorthand property
Run ❯
Get your
own
website
❯
Run Code
Ctrl+Alt+R
Save Code
Ctrl+Alt+A
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Go to Spaces
Ctrl+Alt+P
The gap Property:
Use the
gap
shorthand property to adjust the space between the columns and rows:
1
2
3
4
5
6
7
8