csslint icon indicating copy to clipboard operation
csslint copied to clipboard

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

Open ScreamingTaco opened this issue 6 years ago • 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.

ScreamingTaco avatar Mar 16 '19 15:03 ScreamingTaco