CSSLint/csslint

Error when using named css grid: Unexpected token '['

ScreamingTaco opened this issue · 0 comments

I have a section of css code that makes use of CSS grid's ability to name rows and columns to make them easier to use. When I define it like this:

.page-layout { display: grid; grid-template-rows: [header] 75px [title] auto [summary] auto [characters] auto; ... }

I get the following error from CSSLint:

Unexpected token '[' on <line of the grid-template-rows>, col <position of the first [ at header>

The code works, but CSSLint still thinks its wrong.