gulp.src(`${config.paths.fonts.app}/*.otf`, { encoding: false })
.pipe(sass({
includePaths: ['./node_modules'],
}))
@import 'bootstrap/scss/functions';
@import 'bootstrap/scss/variables';
@import 'bootstrap/scss/mixins';
@import 'bootstrap/scss/grid';
function styles(s, d) {
return src(s)
.pipe(eval(preprocessor)())
.pipe(concat("style.css"))
.pipe(
autoprefixer({ overrideBrowserslist: ["last 10 versions"], grid: true })
)
.pipe(
cleancss({
level: { 1: { specialComments: 0 } } /* , format: 'beautify' */,
})
)
.pipe(dest(d))
.pipe(browserSync.stream());
}
styles('scss', 'css');
styles('scss2', 'css2');
.benefit {
text-align: center;
@media only screen and (min-width: $phones) {
display: flex;
}
}