activate Grid Layout in autoprefixer

This commit is contained in:
Raphael Goetter 2017-08-09 15:27:57 +02:00
parent 9611df22ab
commit 0771287438
2 changed files with 15 additions and 15 deletions

View file

@ -9,26 +9,26 @@
/* /*
1- Normalize (basic reset) 1- Normalize (basic reset)
2- Libraries : 2- Libraries :
- Base (basic global styles) - Base
- Print (basic print styles) - Print
- Misc (hyphens) - Misc (hyphens)
- Layout (alignment, modules, positionning) - Layout (alignment, modules, positionning)
- Utilities (width and spacers helpers) - Utilities (width and spacers helpers)
- Responsive (Responsive helpers) - Responsive helpers
- WordPress reset (disabled by default) - WordPress reset (disabled by default)
3- Components : 3- Components :
- Media object - Media object
- Autogrid object - Autogrid object
- Skip Links - Skip Links for accessibility
- Tables (data tables consistency) - Tables
- Forms (forms consistency) - Forms
- Buttons (buttons consistency) - Buttons
- Checkbox (checkbox styles) - Checkbox
- Radio (radio styles) - Radio
- Tabs (tabs styles) - Tabs
- Badges (badges consistency) - Badges
- Alerts (alerts consistency) - Alerts
- Grillade (Grid System in Flexbox) - Grillade (Grid System)
*/ */
/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */ /*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */
/* Document /* Document

View file

@ -16,7 +16,7 @@ gulp.task('css', function () {
.pipe(sass({ .pipe(sass({
outputStyle: 'expanded' // CSS non minifiée plus lisible ('}' à la ligne) outputStyle: 'expanded' // CSS non minifiée plus lisible ('}' à la ligne)
})) }))
.pipe(autoprefixer()) .pipe(autoprefixer({ grid: true }))
.pipe(rename('knacss-unminified.css')) .pipe(rename('knacss-unminified.css'))
.pipe(gulp.dest('./css/')) .pipe(gulp.dest('./css/'))
.pipe(rename('knacss.css')) .pipe(rename('knacss.css'))
@ -31,7 +31,7 @@ gulp.task('grillade', function() {
.pipe(concat('grillade.scss')) .pipe(concat('grillade.scss'))
.pipe(gulp.dest('./css/')) .pipe(gulp.dest('./css/'))
.pipe(sass()) .pipe(sass())
.pipe(autoprefixer()) .pipe(autoprefixer({ grid: true }))
.pipe(minifycss()) .pipe(minifycss())
.pipe(gulp.dest('./css/')); .pipe(gulp.dest('./css/'));
}); });