I'd like to output / compile CSS for multiple browsers with Compass and Autoprefixer, but using different settings for each file. E.g.
chrome.css Chrome > 4
firefox.css Firefox > 20
safari.css Safari > 6
And so on.
The reason for this is to serve specific stylesheets for each browser.
Here are my current standard Compass config.rb settings, the same Autoprefixer settings for each style sheet that is compiled:
# Autofixer Settings
require 'autoprefixer-rails'
on_stylesheet_saved do |file|
css = File.read(file)
File.open(file, 'w') do |io|
io << AutoprefixerRails.process(css, browsers: ["last 20 versions"])
end
end