Re:CSS Grid for UI Layouts
by RussianCow on Wednesday February 14, 2018 @02:47PM
(#16378748)
My understanding is that the MS properties don't map 1-to-1 onto the standard CSS properties, so I don't think this would always work, hence the question. That said, I assumed Autoprefixer didn't support CSS Grid for that reason, so thanks for pointing out that it does.
[ Parent
| on HN ]
Autoprefixer doesn't just add prefixes, it translates the the syntax to browser compatible code as well, for example:
a {
display: flex;
}
Translates to: a {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
It supports the 27 differences between the various browsers.