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

View File

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