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/general-siblings-combinator.../input.svelte

17 lines
189 B

<style>
.match > * ~ * {
margin-left: 4px;
}
.not-match > * ~ * {
margin-left: 4px;
}
</style>
<div class="not-match">
<div />
</div>
<div class="match">
<div />
<div />
</div>