postcss-pxtorem
postcss-pxtorem copied to clipboard
Convert pixel units to rem (root em) units using PostCSS
I've attached simple fix to issue I mentioned #79 Removed checking for `var` in regex basing on the fact that any CSS custom property has to begin with `--` unlike...
Transforming px values to rem is not working inside default values in custom properties. CSS below would be sufficient to reproduce the issue. ```css body { padding: var(--site-padding, 16px) }...
I appreciate the [mention of a workaround in the docs](https://github.com/cuth/postcss-pxtorem#a-message-about-ignoring-properties) but I wonder if something like this would be a better pattern, similar to the behavior used by `eslint` (i.e....
https://github.com/prettier/prettier/issues/3077
"postcss-pxtorem": "^5.1.1" "echarts": "^4.9.0",
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.1 to 8.2.10. Release notes Sourced from postcss's releases. 8.2.10 Fixed ReDoS vulnerabilities in source map parsing. Fixed webpack 5 support (by @barak007). Fixed docs (by @roelandmoors)....
Since all media queries level one units are relative to the root element, setting the media queries in rems instead of ems, is useless and reduces the support for media...
Add Chinese document
in my project, i need transform px to em, not rem