-
对等于 [postcss-plugin-px2rem](https://www.npmjs.com/package/postcss-plugin-px2rem#configuration),`@media` 规则中的 px 通常是屏幕宽度,转换成 rem 后可能会导致响应式规则失效,因为转换后不一定能取整但业务里可能会用全等匹配,比如:
```css
@media only screen …
-
Hello. I've tried to get codepan working with PostCSS plugins but I'm not sure how to configure it.
I tried adding a `postcss.config.js` file:
```js
module.exports = {
plugins: {
'autop…
-
Nice plugin. Please send me PR to postcss repo with your plugin in examples list :).
-
An option to include a fallback for browsers that don't support `clamp` would be nice. Settings could include outputting the `min value` or `max value` only, an average of the two, or output media que…
-
[PostCSS plugin to fallback initial keyword](https://github.com/maximkoretskiy/postcss-initial).
Avec l'option replace à true:
> Replace the initial with the fallback instead of adding it.
P…
-
So, I grew over postcss-simple-vars and need something more capable, and turned to postcss-nested-vars plugin.
However, when I try to enable it with this package, I get error:
```
=> Errors pre…
-
When I add the following package.json configuration on the readme.md for adding PostCSS plugins, I get a build error.
```
{
"devDependencies": {
"postcss-simple-vars": "1.1.0"
},
"cs…
-
there is a postcss [plugin](https://github.com/jonathantneal/precss/) that lets you to use scss syntax in your css without including node-sass or ruby-sass. it would be nice to include it and close #3…
-
Hoping I didn't do anything wrong, but I tried to use this plugin with some other PostCSS plugins and it failed when importing values.
For example, with [postcss-calc](https://github.com/postcss/post…
-
I'm using Vite 4.0.4 (in a react project) which uses this postcss plugin for CSS Modules support.
I am also using the postcss-nesting plugin in my project. It appears that when classes are imported…