stylecow-plugin-msfilter-transform

5.0.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i stylecow-plugin-msfilter-transform

Weekly Downloads

6

Version

5.0.0

License

MIT

Last publish

Collaborators

  • oscarotero