nDmitry / grunt-autoprefixer

Parse CSS and add vendor-prefixed CSS properties using the Can I Use database. Based on Autoprefixer.
MIT License
795 stars 60 forks source link

Browser options: add -moz and -ms prefixes #56

Closed jvandenrym closed 10 years ago

jvandenrym commented 10 years ago

Hi, I would like to add pre-fixes for older webkit, Mozilla, IE 10 and Opera. Thus adding prefixes -moz, -ms, -webkit combined in my grunt auto-prefixer browser options configuration. Tried many options but I cannot get it to work. How should I do this? Here down obvious doesn't work ;)

autoprefixer: {
      options: {
        browsers: [
        'last 2 version',
        'ff > 20',
        '> 1%',
        'ie 8',
        'ie 9',
        'ie 10',
        'Firefox ESR',
        'Opera 12.1'],
nDmitry commented 10 years ago

Documentation on specifying browsers versions: https://github.com/ai/autoprefixer#browsers Also to check which prefixes are needed where refer to http://caniuse.com

jvandenrym commented 10 years ago

I will go through the documentation again. ;) Thanks for this great initiative!