4 ms·
The very last example in 2.1 ("__bar.foo { color: red; }") should instead be "foo.__bar { color: red; }" if I understand it correctly.
by paulclinger 5y ago
The very last example in 2.1 ("__bar.foo { color: red; }") should instead be "foo.__bar { color: red; }" if I understand it correctly.
- tantanel 5y agoNo, I think the example is correct. __bar in this case is interpreted as an element name (custom html element), not a class.