postcss-russian-units
v1.0.0
Published
PostCSS plugin to support lengths in russian units
Downloads
8
Maintainers
Readme
PostCSS Russian Units
PostCSS plugin to support lengths in russian units.
Inspired by PostCSS Imperial.
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
- https://en.wikipedia.org/wiki/Obsolete_Russian_units_of_measurement#Length