Use Scoped CSS in Vue

Rory Smith
InstructorRory Smith
Share this video with your friends

Social Share Links

Send Tweet
Published 7 years ago
Updated 5 years ago

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.

~ 7 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?

Markdown supported.
Become a member to join the discussionEnroll Today