Hacker News new | past | comments | ask | show | jobs | submit login

The very last example in 2.1 ("__bar.foo { color: red; }") should instead be "foo.__bar { color: red; }" if I understand it correctly.



No, I think the example is correct. __bar in this case is interpreted as an element name (custom html element), not a class.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: