CSS -ms-grid-columns Property Reference

The CSS -ms-grid-columns property is a nonstandard property in CSS Grid Layout. Review its formal syntax, computed behavior, and practical declarations.

CSS -ms-grid-columns Property Reference

The CSS -ms-grid-columns property is a nonstandard property in CSS Grid Layout. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

-ms-grid-columns overview

The CSS -ms-grid-columns property is a nonstandard property in CSS Grid Layout. Review its formal syntax, computed behavior, and practical declarations.

The property is not inherited by default. Use an explicit global keyword when inheritance is intended.

Syntax and formal definition

-ms-grid-columns formal syntax
FieldValue
Formal syntaxnone | <track-list> | <auto-track-list>
Initial valuenone
Applies togridContainers
InheritedNo
PercentagesreferToDimensionOfContentArea
Computed valueasSpecifiedRelativeToAbsoluteLengths
Animation typesimpleListOfLpcDifferenceLpc
Mediavisual
Specification groupCSS Grid Layout
StatusNonstandard

Practical examples

These declarations demonstrate valid ways to set -ms-grid-columns. The initial and inherit global keywords remain available even when a property-specific value is preferable.

-ms-grid-columns live example
CSS .reset-example { -ms-grid-columns: initial; } .inherit-example { -ms-grid-columns: inherit; } @supports (-ms-grid-columns: initial) { .supported { -ms-grid-columns: initial; } }

Description

The CSS -ms-grid-columns property is a nonstandard property in CSS Grid Layout. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: -ms-grid-columns
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies