1.0.0 • Published 1 year ago

postcss-polyfill-flex-gap v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

PostCSS polyfill flex gap

This plugin polyfills all flexbox gaps into margins for older browsers.

Basic example

/* input */
.list {
  display: flex;
  gap: 10px;
}
.item {
  display: flex;
  background-color: red;
}

/* output */
.list {
  display: flex;
}
.list > *:not(:last-child) {
  margin-right: 10px;
}
.item {
  display: flex;
  background-color: red;
}

flex-wrap

This plugin DOES NOT process flex-wrap: wrap

/* input */
.list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* output */
.list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
1.0.0

1 year ago

0.1.12

1 year ago

0.1.11

1 year ago

0.1.10

1 year ago

0.1.9

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago