Implicit Autoprefixing
kennethormandy
released this
23 Sep 04:29
·
192 commits
to master
since this release
Harp v0.14.0 – Implicit Autoprefixing
A new release of Harp is available today. Harp now takes care of vendor prefixing for you, via the fantastic Autoprefixer.
Create any .sass
, .scss
, .less
, or .styl
file…
// main.scss
h1 {
font-feature-settings: "liga";
transition: color 0.25s;
}
…and it will be preprocessed and prefixed automatically.
/* main.css */
h1 {
-webkit-font-feature-settings: "liga";
-moz-font-feature-settings: "liga";
font-feature-settings: "liga";
-webkit-transition: color 0.25s;
transition: color 0.25s
}
Get started
You shouldn’t have to think about vendor prefixing or configuring your preprossors while building static sites and apps. To get this taken care of for you, install the latest version of Harp:
npm install -g harp
Note you may need to preface this with sudo
depending on your setup.
You can read the rest of the release notes on the Harp blog.