mirror of https://github.com/sveltejs/svelte
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
241 B
28 lines
241 B
4 years ago
|
<style>
|
||
|
:host h1 {
|
||
|
color: red;
|
||
|
}
|
||
|
|
||
|
:host > h1 {
|
||
|
color: red;
|
||
|
}
|
||
|
|
||
|
:host > * {
|
||
|
color: red;
|
||
|
}
|
||
|
|
||
|
:host span {
|
||
|
color: red;
|
||
|
}
|
||
|
|
||
|
:host > span {
|
||
|
color: red;
|
||
|
}
|
||
|
</style>
|
||
|
|
||
|
<h1>Hello!</h1>
|
||
|
|
||
|
<div>
|
||
|
<span>World!</span>
|
||
|
</div>
|