📐 PostCSS plugin to support lengths in russian units
Clone or download
Latest commit 2f04a02 Sep 14, 2015
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src ES6 fixed Aug 11, 2015
test Bumped 'postcss' dependency Sep 14, 2015
.editorconfig Initial commit Aug 7, 2015
.eslintrc Initial commit Aug 7, 2015
.gitignore Removed `dist` from repository Aug 11, 2015
.npmignore Removed `dist` from repository Aug 11, 2015
.travis.yml Bumped 'postcss' dependency Sep 14, 2015
LICENSE Initial commit Aug 7, 2015
README.md Update README.md Sep 14, 2015
package.json Bumped 'postcss' dependency Sep 14, 2015

README.md

PostCSS Russian Units Build Status

image

PostCSS plugin to support lengths in russian units.

Inspired by PostCSS Imperial.

See also 🇷🇺 postcss-russian-stylesheets

Input

.poster {
  height: 2linii;
  width: 1perst;
}

/* or */

.poster {
  height: 2линии;
  width: 1перст;
}

Output

.poster {
  height: 0.2in;
  width: 0.787402in;
}

Usage

postcss([ require('postcss-russian-units') ])

See PostCSS docs for examples for your environment.

Supported Units

  • tochka
  • liniya
  • nogot
  • perst
  • sotka
  • dyuim
  • vershok
  • piad
  • fut
  • arshin
  • sazhen
  • versta
  • milia

Notes

  • Plurals are supported for convenience.

References