# PostCSS Verthorz [![Build Status][ci-img]][ci]

[PostCSS] plugin to add vertical and horizontal spacing shorthand.

[PostCSS]: https://github.com/postcss/postcss
[ci-img]:  https://travis-ci.org/davidhemphill/postcss-verthorz.svg
[ci]:      https://travis-ci.org/davidhemphill/postcss-verthorz

## Examples

### Shorthand `vert` and `horz` declarations

```css
.foo {
    padding-vert: 2rem;
    margin-horz: auto;
}
```

```css
.foo {
    padding-top: 2rem;
    padding-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
}
```

### Even shorter shorthand declarations

```css
.bar {
    ph: 30px;
    mv: 100px;
}
```

```css
.bar {
    padding-left: 30px;
    padding-right: 30px;
    margin-top: 100px;
    margin-bottom: 100px;
}
```

## Usage

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

See [PostCSS] docs for examples for your environment.
# PostCSS Verthorz [![Build Status][ci-img]][ci]

[PostCSS] plugin to add vertical and horizontal spacing shorthand.

[PostCSS]: https://github.com/postcss/postcss
[ci-img]:  https://travis-ci.org/davidhemphill/postcss-verthorz.svg
[ci]:      https://travis-ci.org/davidhemphill/postcss-verthorz

## Examples

### Shorthand `vert` and `horz` declarations

```css
.foo {
    padding-vert: 2rem;
    margin-horz: auto;
}
```

```css
.foo {
    padding-top: 2rem;
    padding-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
}
```

### Even shorter shorthand declarations

```css
.bar {
    ph: 30px;
    mv: 100px;
}
```

```css
.bar {
    padding-left: 30px;
    padding-right: 30px;
    margin-top: 100px;
    margin-bottom: 100px;
}
```

### It even supports multiple values...

```css
.baz {
    padding-vert: 10px 15px;
    margin-horz: 15px 21px;
}
```

```css
.baz {
    padding-top: 10px;
    padding-bottom: 15px;
    margin-right: 15px;
    margin-left: 21px;
}
```

## Usage

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

See [PostCSS] docs for examples for your environment.
Update documentation for new feature
Update documentation for new feature
