Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mejutoco
5 months ago
|
parent
|
context
|
favorite
| on:
Demystifying the Shadow DOM
If you want classnames:
- <my-component class="dark"
- :host(.dark) to style inside the component
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
- <my-component class="dark"
- :host(.dark) to style inside the component