Setting the file. One moment.
Subchapter 7.47
references/style-scoped.mdMarkdown631 BView on GitHub
# This is Red
<style>
h1 {
color: red;
}
</style>
---
# Other slides are not affectedAll <style> tags in slides are automatically scoped.
Child combinators (.a > .b) don’t work as expected due to scoping.
# Slidev
> Hello **world**
<style>
blockquote {
strong {
--uno: 'text-teal-500 dark:text-teal-400';
}
}
</style>For global styles, use styles/index.css in your project.