I am using this library for slideshows called Flickity that requires to use its css file flickity.min.css
. In my project I use postCSS and when including this flickity.min.css
into my components css like:
@import ./lib/flickity.min
its classes get prefixed in the following way: MyComponent__flickity-class_35aw
issue with this is that flickity creates new dom elements and relies on its classes, so in inspector the class for it would be .flickity-class
hence no styles are applied to it, I'm trying to figure out how to include it correctly.
Using react + webpack setup