Closed kbytin closed 8 years ago
I'm using cssnext and sugarSS
Cssnext includes postcss-apply (https://github.com/pascalduez/postcss-apply)
What is correct way to use it?
:root --centered: display: flex; align-items: center; justify-content: center;
I get error Module build failed: Error: Expected pseudo-class or pseudo-element If I use like this
Module build failed: Error: Expected pseudo-class or pseudo-element
:root --centered: { display: flex; align-items: center; justify-content: center; }
No errors but It doesn't work
Seems like current logic is not ready for apply. I will have Internet to fix it only after July 8. Is it OK?
Hm. I tested your example and everything works fine.
Could you:
;
I'm using cssnext and sugarSS
Cssnext includes postcss-apply (https://github.com/pascalduez/postcss-apply)
What is correct way to use it?
I get error
Module build failed: Error: Expected pseudo-class or pseudo-element
If I use like thisNo errors but It doesn't work