Login
From:
Geoff Rich
(Uncensored)
subscribe
How Svelte scopes component styles - Geoff Rich
https://geoffrich.net/posts/svelte-scoped-styles/
links
backlinks
Roast topics
Find topics
Find it!
By default, any styles you write in a Svelte component are scoped to that component. This means that the p selector in the following code will only apply to <p> elements inside this component.