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
Add support for grid-gap #1032
Add support for grid-gap #1032
Conversation
Awesome. What do you think if I asked on Twitter, is it a safe way to work with |
I think it's great idea to ask community. Do you want to receive meanings of experts, or do you want to know that people want to use it? |
I think feedback depends on ideas, not on author. Many experts are bad in some questions. Many unknown person are good 😄 |
Agreed with you, so that is why I asked this question. Let's discuss! |
@ai Please, notify me about the tweet. I would like to join the discussion 😀 |
Asked https://twitter.com/Autoprefixer/status/992210938441928704 Let’s wait few days and then I will accept and release it. |
What happens in this example? body {
display: grid;
grid-gap: 10px;
grid-template-rows: 1fr 1fr;
}
div {
grid-row: span 2;
} Due to the nature of selectors, the behavior of As @ai pointed out on Twitter, |
@jhpratt Actually, your example mostly isn't related to PR.
So in your example, body {
display: grid;
grid-gap: 10px;
grid-template-rows: 1fr 1fr;
}
div {
grid-row: 1 / span 2; // it's need to specify start
}
/* output */
body {
display: -ms-grid;
display: grid;
grid-gap: 10px;
-ms-grid-rows: 1fr 1fr;
grid-template-rows: 1fr 1fr;
}
div {
-ms-grid-row: 1;
-ms-grid-row-span: 2;
grid-row: 1 / span 2;
} |
Sorry for my interrupt, |
@petamoriken use Just set it before Autoprefixer |
Released in 8.5 |
#951