One Method to upgrade CSS compatibility for Jekyll to adpat all sorts of browsers.
Gemfile
1
2
3
4
5
gem "autoprefixer-rails"
group :jekyll_plugins do
gem 'jekyll-assets'
end
Add _config.yml
1
2
3
4
5
6
7
8
9
10
assets:
compress:
css: sass
js: uglifier
autoprefixer:
browsers:
- "last 5 versions"
- "IE > 9"
plugins:
css: { autoprefixer: {}}
Run in Terminal
1
2
bundle install
bundle exec jekyll build