badsyntax / react-seed

[not maintained] Seed project for React apps using ES6 & webpack.
http://badsyntax.github.io/react-seed
MIT License
428 stars 82 forks source link

Question: Integrate CSS styles without local CSS #30

Open spietrek opened 9 years ago

spietrek commented 9 years ago

Sorry for the naive question. I am using a 3rd party slider control which I want to override styles of their CSS which I am downloading from CDN. I cannot set the className of the styles from within my application. Is there a way to define CSS without it going through css-loader? Can I define a CSS file which is integrated and minified but no rules are applied?

RassaLibre commented 9 years ago

I am also not really happy about local-CSS. Can't you just you :global() ? I think that should solve your problem. That is what I do when I need to overwrite 3rd party CSS.

spietrek commented 9 years ago

Thanks. I will give it a shot.

-Steve Pietrek

On Nov 13, 2015, at 3:40 AM, Tomas Prochazka notifications@github.com wrote:

I am also not really happy about local-CSS. Can't you just you :global() ? I think that should solve your problem. That is what I do when I need to overwrite 3rd party CSS.

— Reply to this email directly or view it on GitHub.