marcj / css-element-queries

CSS Element-Queries aka Container Queries. High-speed element dimension/media queries in valid css.
http://marcj.github.io/css-element-queries/
MIT License
4.27k stars 487 forks source link

Check in sass files #269

Open mariusgnicula opened 5 years ago

mariusgnicula commented 5 years ago

Awesome work, man! I will definitely use this in my projects, though I do have a question. I use SASS & Webpack and while the plugin works great when my code is compiled down to CSS, it does not work in development as the styles are taken directly from the sass files. Is there a way to check sass files as well as css? Thanks again!

marcj commented 5 years ago

Question is, how does your framework inject the generated css into the DOM? You need to hijack that process and let ElementQueries.init() run directly after it. As alternative, we could try to detect newly added