summaryrefslogtreecommitdiff
path: root/node_modules/postcss-vmin/README.md
blob: adb0a82408bf85a48bebfb74dc96f16e7052fca7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# PostCSS Vmin [![Build Status](https://travis-ci.org/iamvdo/postcss-vmin.svg)](https://travis-ci.org/iamvdo/postcss-vmin)

A simple [PostCSS] plugin to convert `vmin` to `vm` for IE9.

[PostCSS]: https://github.com/postcss/postcss

```css
/* Input example */
.foo {
  width: 50vmin;
}
```

```css
/* Output example */
.foo {
  width: 50vm;
  width: 50vmin;
}
```

## Usage

```js
postcss([ require('postcss-vmin') ])
```

See [PostCSS] docs for examples for your environment.