HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

grid-template-areas

Description

The grid-template-areas property for CSS specifies named grid areas, which are not associated with any particular grid item, but can be referenced from the grid-placement properties.

Syntax

CSS

grid-template-areas: value;

JS

object.style.gridTemplateAreas = "value";

Values

<'grid-template-areas'> = none | <string>+
none

Indicates that no named grid areas, and likewise no explicit grid tracks, are defined by this property (though explicit grid tracks could still be created by grid-template-columns or grid-template-rows).

<string>

Specifies a sequence of characters delimited by double quotes (") or single quotes (').

Initial

none

Examples

1 · none

2 · string

3 · JS