Svelte · Senior · Question 53 of 75

How does scoping CSS work, and what are its limits?

Explanation

Scoped selectors get extra specificity from the hash class. Custom elements mode uses Shadow DOM instead.

Further reading

Problem with a question

Svelte · Senior · question 53

Test yourself

Take the Svelte · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz