PostCSS plugin for writing Czech Style Sheets.
$ npm install --save-dev postcss-czech-stylesheets
.error-msg {
zobrazení: blok;
levý-rámeček: 3px pevné červené;
velikost-písma: 15px;
výška-řádku: 20px;
pozadí: průhledné;
barva: červená !kurva;
}
.error-msg {
display: block;
border-left: 3px solid red;
font-size: 15px;
line-height: 20px;
background: transparent;
color: red !important;
}
var gulp = require('gulp');
var rename = require('gulp-rename');
var postcss = require('gulp-postcss');
var autoprefixer = require('autoprefixer')
var czechCSS = require('postcss-czech-stylesheets');
gulp.task('default', function () {
var processors = [
czechCSS(),
autoprefixer({ browsers: ['> 0%'] })
];
return gulp.src('src/**/*.css')
.pipe(postcss(processors))
.pipe(rename('output.css'))
.pipe(gulp.dest('build'));
});