CSS gap Property
This property defines the size of the gap between the rows and columns.
Syntax -
gap: row-gap column-gap; |
Now we will see the values with their description-
Value |
Description |
row-gap |
This property sets the size of the gap between the rows in a grid layout |
column-gap |
This property sets the size of the gap between the columns in a grid layout |
Now we will see the example -
Example –
<html> |
Output -