All Projects → sindresorhus → Gulp Autoprefixer

sindresorhus / Gulp Autoprefixer

Licence: mit
Prefix CSS

Programming Languages

javascript
137047 projects - #8 most used programming language

Projects that are alternatives of or similar to Gulp Autoprefixer

Stencil Postcss
Autoprefixer plugin for Stencil
Stars: ✭ 19 (-97.19%)
Mutual labels:  autoprefixer, postcss
Bathe
The simplest WordPress starter theme including full setup for Sass, PostCSS, Autoprefixer, stylelint, Webpack, Eslint, imagemin, Browsersync, etc.
Stars: ✭ 65 (-90.38%)
Mutual labels:  autoprefixer, postcss
Turretcss
Turret is a styles and browser behaviour normalisation framework for rapid development of responsive and accessible websites.
Stars: ✭ 729 (+7.84%)
Mutual labels:  autoprefixer, postcss
Fabium
+100 for productivity
Stars: ✭ 108 (-84.02%)
Mutual labels:  autoprefixer, postcss
Deventy
A minimal 11ty starting point for building static websites with modern tools.
Stars: ✭ 157 (-76.78%)
Mutual labels:  autoprefixer, postcss
Next Starter Tailwind
Next.js starter styled with Tailwind CSS
Stars: ✭ 225 (-66.72%)
Mutual labels:  autoprefixer, postcss
Webpack Es6 Sass Setup
A basic setup for Webpack with ES6, Babel, Sass and stylelint
Stars: ✭ 63 (-90.68%)
Mutual labels:  autoprefixer, postcss
Frasco
Quick starter for Jekyll including full setup for Sass, PostCSS, Autoprefixer, stylelint, Webpack, ESLint, imagemin, Browsersync, etc.
Stars: ✭ 123 (-81.8%)
Mutual labels:  autoprefixer, postcss
Fast
Develop, build, deploy, redeploy, and teardown frontend projects fast.
Stars: ✭ 126 (-81.36%)
Mutual labels:  autoprefixer, postcss
Vanilla Back To Top
Simple and smooth Back To Top button
Stars: ✭ 179 (-73.52%)
Mutual labels:  autoprefixer, postcss
Gulp Postcss
Pipe CSS through PostCSS processors with a single parse
Stars: ✭ 749 (+10.8%)
Mutual labels:  gulp-plugin, postcss
Nth Start Project
Startkit for HTML / CSS / JS pages layout.
Stars: ✭ 578 (-14.5%)
Mutual labels:  postcss
Postcss Bem Linter
A BEM linter for postcss
Stars: ✭ 505 (-25.3%)
Mutual labels:  postcss
Html5
HTML5学习、总结、实践
Stars: ✭ 493 (-27.07%)
Mutual labels:  postcss
Vkui
VKUI – это набор React-компонентов, с помощью которых можно создавать интерфейсы, внешне неотличимые от наших iOS и Android приложений.
Stars: ✭ 485 (-28.25%)
Mutual labels:  postcss
Postcss Cli
CLI for postcss
Stars: ✭ 621 (-8.14%)
Mutual labels:  postcss
Naomi
Sublime Text enhanced syntax highlighting for JavaScript ES6/ES7/ES2015/ES2016/ES2017+, Babel, FlowType, React JSX, Styled Components, HTML5, SCSS3, PHP 7, phpDoc, PHPUnit, MQL4. Basic: Git config files.
Stars: ✭ 544 (-19.53%)
Mutual labels:  postcss
Lost
LostGrid is a powerful grid system built in PostCSS that works with any preprocessor and even vanilla CSS.
Stars: ✭ 4,506 (+566.57%)
Mutual labels:  postcss
Gulp Ruby Sass
Compile Sass to CSS with Ruby Sass
Stars: ✭ 476 (-29.59%)
Mutual labels:  gulp-plugin
Gulp Shell
A handy command line interface for gulp
Stars: ✭ 474 (-29.88%)
Mutual labels:  gulp-plugin

gulp-autoprefixer

Prefix CSS with Autoprefixer

Issues with the output should be reported on the Autoprefixer issue tracker.

Install

$ npm install --save-dev gulp-autoprefixer

Usage

const gulp = require('gulp');
const autoprefixer = require('gulp-autoprefixer');

exports.default = () => (
	gulp.src('src/app.css')
		.pipe(autoprefixer({
			cascade: false
		}))
		.pipe(gulp.dest('dist'))
);

API

autoprefixer(options?)

options

Type: object

See the Autoprefixer options.

Source Maps

Use gulp-sourcemaps like this:

const gulp = require('gulp');
const sourcemaps = require('gulp-sourcemaps');
const autoprefixer = require('gulp-autoprefixer');
const concat = require('gulp-concat');

exports.default = () => (
	gulp.src('src/**/*.css')
		.pipe(sourcemaps.init())
		.pipe(autoprefixer())
		.pipe(concat('all.css'))
		.pipe(sourcemaps.write('.'))
		.pipe(gulp.dest('dist'))
);

Tip

If you use other PostCSS based tools, like cssnano, you may want to run them together using gulp-postcss instead of gulp-autoprefixer. It will be faster, as the CSS is parsed only once for all PostCSS based tools, including Autoprefixer.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected]