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.
svelte/test/css/samples/siblings-combinator/input.svelte

35 lines
395 B

<style>
div + article {
color: green;
}
article + div {
color: green;
}
span + article {
color: green;
}
b + article {
color: green;
}
span + div {
color: green;
}
span + b {
color: green;
}
div span + b {
color: green;
}
.a + article {
color: green;
}
div + .b {
color: green;
}
</style>
<div class="a">
<span />
<b />
</div>
<article class="b"></article>