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/packages/svelte/tests/css/samples/not-selector/input.svelte

36 lines
398 B

<p class="foo">foo</p>
<p class="bar">
bar
<span>baz</span>
</p>
<span>buzz</span>
<style>
:not(.foo) {
color: green;
}
:not(.unused) {
color: green;
}
:not(p) {
color: green;
}
:not(.foo):not(.unused) {
color: green;
}
p:not(.foo) {
color: green;
}
span :not(.foo) {
color: red;
}
span :not(.unused) {
color: red;
}
span:not(p span) {
color: green;
}
</style>