I am trying to use the wepback loader and plugin for PostCSS autoprefixer. All the SCSS is compiling but not getting prefixed.   This is what I have in my config:  loaders: {     {         test: /\.css$/,         loader: "style-loader!css-loader!...
I have page.css that @imports index.css.  Both of page.css and index.css has display: flex.  Webpack.config.js contains:  module: {     loaders: [         { test: /\.css$/, loader: "style-loader!css-loader!postcss-loader" }     ] }, postcss:...
I have installed postcss-import and postcss-simple-vars. I want to save all my color choices in a single file and then just use $orange instead of the hexcode whenever I need to. It is not working at the moment.  If I include the variable name+hexcod...
Hello I’ve been experimenting with PostCSS and am struggling a bit with writing a plugin that appends a new rule when it finds certain CSS properties.  What I’m trying to achieve…  Starting CSS:  .selector {     color: red;     not-yet-standard...
I'm giving postCSS a go by pure curiosity but I'm having a compilation time around ~2sec already.  I'm only using 3 plugins : autoprefixer, postcss-import and postcss-nested  I've got app.css that imports 2 files :  @import "_base...
I am having trouble migrating from cssnext to preset env. How can do I set custom media queries in postcss preset env?      postcssPresetEnv({       stage: 1,       features: {         'custom-media-queries': {           'small': '...
I'm trying to transform a css document into rtl (right-to-left) using postcss-rtl and automate this using gulp. This is the error I get when I run gulp watch:  TypeError: dest.on is not a function     at DestroyableTransform.Readable.pipe (D:\Pro...
I am using TailwindCSS and Laravel Mix. I am trying to setup PurgeCSS and I have got it reading my template files (working with WordPress) and purge any CSS not within the template files.  However, as part of Tailwind, I am using @apply in my scss fi...
I have a question, it is possible to set dynamic variable or change variable from JS in post-css? I have react component and inside css3 animation, I want set dynamic delay for each animation individually for each component.  I found similar solution...
I have a static website: HTML, CSS, JS files and no back-end programming. Parts of this website will be injected into another website. So I need to make sure that new CSS file from my project will not corrupt an old one and vice versa.  One of the th...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.