Skip to content
HTML.ONE
Home CSS Properties

CSS Gap

Sets spacing between rows and columns in grid, flex and multi-column layouts.

Example

gap: 16px;

Further reference

MDN CSS reference