layout String (default: '')

Specify the layout of Form content. Valid options are:

  • grid: This is equivalent to display: grid. It defines the form element as a grid container and establishes a new grid formatting context for its contents.

Note: Grid layout is supported only on modern browsers. Even so, not all browsers that support grid layout support all features.

In this article