Skip to content

Latest commit

 

History

History
65 lines (50 loc) · 1.16 KB

README.md

File metadata and controls

65 lines (50 loc) · 1.16 KB

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