From fc69a68248a0059114d97d5af1a17fe3c3e4f004 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 6 Dec 2018 19:16:15 +0400 Subject: feat(css): Add automatic prefixes Signed-off-by: Valentin Popov --- Gemfile | 3 ++- _config.yml | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 593a0a4..ef7ba64 100644 --- a/Gemfile +++ b/Gemfile @@ -12,7 +12,8 @@ gem "github-pages", group: :jekyll_plugins # If you have any plugins, put them here! group :jekyll_plugins do - gem "jekyll-paginate", "~> 1.1.0" + gem "jekyll-paginate", "~> 1.1.0" + gem "octopress-autoprefixer", "~> 2.0.1" end # Windows does not include zoneinfo files, so bundle the tzinfo-data gem diff --git a/_config.yml b/_config.yml index 16dec62..ced1b92 100644 --- a/_config.yml +++ b/_config.yml @@ -23,6 +23,12 @@ sass: sass_dir: "_scss" style: ":compressed" +# AutoPrefixer +autoprefixer: + browsers: + - "> 1%" + - "last 10 versions" + # Compress HTML compress_html: blanklines: false @@ -52,6 +58,7 @@ author: # Plugins plugins: - "jekyll-paginate" + - "octopress-autoprefixer" # Exceptions exclude: -- cgit v1.2.3