Stylecow plugin to support font-variant properties
JavaScript CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
tests
.gitignore
.travis.yml
LICENSE
README.md
index.js
package.json

README.md

stylecow plugin font-variant

Build Status

Stylecow plugin to support font-variant properties using font-feature-settings fallback. Inspired by the postcss plugin postcss-font-variant

You write:

p {
	font-variant-ligatures: common-ligatures;
}

And stylecow converts to:

p {
	font-feature-settings: "liga";
	font-variant-ligatures: common-ligatures;
}

More demos in the tests folder