6.0.1 • Published 10 years ago

stylecow-plugin-flex v6.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

stylecow plugin flex

Build Status

Stylecow plugin to generate the css code with the old flexbox syntax in explorer 10 and webkit.

Note: this plugin does not add vendor prefixes to the new syntax, use stylecow-plugin-prefixes to that.

More info:

You write:

body {
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
	flex-direction: row;
}

p {
	flex-grow: 1;
}

And stylecow converts to:

body {
	display: -ms-flexbox;
	display: -webkit-box;
	display: flex;
	-ms-flex-align: start;
	-webkit-box-align: start;
	align-items: flex-start;
	-ms-flex-pack: end;
	-webkit-box-pack: end;
	justify-content: flex-end;
	-ms-flex-direction: row;
	-webkit-box-orient: horizontal;
	flex-direction: row;
}
p {
	-ms-flex-positive: 1;
	-webkit-box-flex: 1;
	flex-grow: 1;
}

More demos in the tests folder

6.0.1

10 years ago

6.0.0

10 years ago

5.0.0

10 years ago

4.1.0

10 years ago

4.0.2

10 years ago

4.0.1

10 years ago

4.0.0

10 years ago

3.0.1

10 years ago

3.0.0

10 years ago

2.0.0

11 years ago

1.1.0

11 years ago

1.0.0

11 years ago