Stylecow plugin to add ms filters emulating some 2d transforms: rotate(), scale(), skew(), matrix(), etc
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 msfilter-transform

Build Status

Stylecow plugin to add ms filters emulating some 2d transforms: rotate(), scale(), skew(), matrix(), etc

Some code has been taken from https://github.com/pbakaus/transformie (thanks so much, guys!!)

You write:

p {
	transform: skew(30deg, 10deg);
}

And stylecow converts to:

p {
	transform: skew(30deg, 10deg);
	-ms-filter: 'progid:DXImageTransform.Microsoft.Matrix(sizingMethod="auto expand", M11 = 1, M12 = 0, M21 = 0.5773502691896257, M22 = 1)';
}

More demos in the tests folder