Skip to content

Semigradsky/postcss-russian-units

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

📐 PostCSS plugin to support lengths in russian units

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published