PostCSS plugin that allows to use roman numerals in your CSS code.
.app {
min-height: Cvh;
max-width: MCCpx;
padding: XIIpx IXpx;
}
.app__title {
font-size: IIem;
}
.app__logo {
width: C%;
}
.app {
min-height: 100vh;
max-width: 1200px;
padding: 12px 9px;
}
.app__title {
font-size: 2em;
}
.app__logo {
width: 100%;
}
Step 1: Install plugin:
npm install --save-dev postcss postcss-roman-numerals
Step 2: Check your project for existing PostCSS config: .postcssrc
in the project root, "postcss"
section in package.json
or postcss
in bundle config.
If you do not use PostCSS, add it according to official docs and set this plugin in settings.
Step 3: Add the plugin to your PostCSS config:
{
"plugins": {
+ "postcss-roman-numerals": {},
"autoprefixer": {}
}
}
Pull requests are welcome.
MIT © Azat S.