css.properties

grid-gap

The grid-gap property specifies the gap between grid items.

Draft โ€” This property is defined in a W3C Draft and may be subject to change

Formal Syntax

<'row-gap'> <'column-gap'>?

See specification

JavaScript Access

// Access via element.style
element.style.gridGap = 'value';

Browser Support

This property is defined in a W3C Draft and may be subject to change. Browser support data is not yet available.

Related Properties