Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
paulclinger
on Sept 1, 2021
|
parent
|
context
|
favorite
| on:
CSS Nesting Module
The very last example in 2.1 ("__bar.foo { color: red; }") should instead be "foo.__bar { color: red; }" if I understand it correctly.
tantanel
on Sept 1, 2021
[–]
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: