Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable grid layouts #36

Open
bjoern-tantau opened this issue Nov 10, 2018 · 1 comment
Open

Enable grid layouts #36

bjoern-tantau opened this issue Nov 10, 2018 · 1 comment

Comments

@bjoern-tantau
Copy link

I am unable to enable grid handling with the autoprefixer. According to https://github.com/postcss/autoprefixer#does-autoprefixer-polyfill-grid-layout-for-ie one has to pass the grid: true option or place a /* autoprefixer grid: on */ comment. But I have no idea where to set this option and the comment seems to be ignored, no matter if I set it at the top of the less-file or before the grid rules.

Input:

/* autoprefixer grid: on */
div {
  /* autoprefixer grid: on */
  display: grid;
}

Command line call:

lessc --autoprefix test.less test.css

Expected output:

div {
  display: -ms-grid;
  display: grid;
}

Actual output:

/* autoprefixer grid: on */
div {
  /* autoprefixer grid: on */
  display: grid;
}
@thomasfrobieter
Copy link

Same here. Is there any progress?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants