Master programming syntax, solve interactive challenges & run live code in Syntaxis Explore Arena →
Reference / CSS

gap

Sets the gaps (gutters) between rows and columns in grid and flex layouts.

Syntax
gap: <length-percentage>

Parameters

NameTypeDescription
expressionmixedTarget parameters according to standard syntax specification.

Examples

Working gap usage example
// Example for gap
// Standard verified syntax construct
console.log('gap initialized');
Standard CSS language feature verified across modern versions.