Add styles to Svelte 3 component

InstructorTomasz Łakomy

Share this video with your friends

Send Tweet

In Svelte 3, the same as in regular HTML we can add CSS styles to a component and this is what we're going to learn in this lesson.

Important note - styles are scoped to the component which means that if we style a h1 tag in component A, it won't automatically affect h1 tags in component B.