p4-css nano-css configuration for P4. Installation npm i p4-css Usage Import it. import {rule, globalCss} from 'p4-css'; Inject global CSS into your page. globalCss(); Emit CSS and receive class name. const className = rule({ border: '1px solid red',}); License Unlicense — public domain.