ZeeCoder / container-query

A PostCSS plugin and Javascript runtime combination, which allows you to write container queries in your CSS the same way you would write media queries.
MIT License
139 stars 4 forks source link

Question: is BEM required? #61

Closed noahehall closed 6 years ago

noahehall commented 6 years ago

I generally hash my selectors in production and rely on CSS modules.

How does this repo fit into that environment?

Thanks..

ZeeCoder commented 6 years ago

Hi @noahehall !

Issue #18 is exactly about this.

Basically, it wouldn't work out of the box as it is now.

I had some ideas, but since I'm not using css modules I haven't tried any of them. we can continue the discussion there, I'm curious what you might think. 🤔

ZeeCoder commented 6 years ago

I've just realised that I haven't addressed your original question: technically you don't need to use any OOCSS methodology, like BEM, but it's not officially supported, so I don't know if it actually would work. 🤔

noahehall commented 6 years ago

Thanks @ZeeCoder