akanix42 / meteor-css-modules

MIT License
92 stars 19 forks source link

Problem with parsing local html tag #121

Closed mankinchi closed 5 years ago

mankinchi commented 5 years ago

I have an element tag (like p tag) in my module.css. My expectation is that this tag will be converted into a scoped css but this style get totally ignored. How can I make this work?

akanix42 commented 5 years ago

You can nest your tag under a class, e.g.:

.foo p {
  /* styles */
} 

The CSS modules specification doesn't support scoping tags.