0

Magento 2 comes with a preinstalled autoprefixer for Grunt. But is it possible to use the autoprefixer in the production mode too?

I have a lot of CSS which does not work without the vendor prefixes in some browsers. I don't want declare a function for each property which has a vendor prefix, or add the prefix to each CSS class selector.

  • Sorry, donot understand your question.Can please explain what is mean by vendor prefixes? – Amit Bera Jun 19 '18 at 7:28
  • e.g.: display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex; – Fredwak Jun 19 '18 at 11:23
  • the functionality of autoprefixer.github.io for magento – Fredwak Jun 19 '18 at 11:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.