Use Scoped CSS in Vue

InstructorRory Smith

Share this video with your friends

Send Tweet

Let's see how to apply both scoped and global styles to components in our project, and why we need to use the scoped attribute.

Free Community Resource

A Community Resource means that it’s free to access for all. The instructor of this lesson requested it to be open to the public.

Rob
Rob
~ 3 years ago

Is there a way to let children inherit scoped styles? Let's say I have a component called 'Fields', and wanted each field to be a child component. In 'Fields', I want to define scoped input styles that each field component inherits. Is that possible?