mirror of https://github.com/sveltejs/svelte
add scoping attribute for pseudo-class selectors without a type/class - fixes #1705
parent
220515b605
commit
0fd34b1f41
@ -0,0 +1 @@
|
||||
.svelte-xyz:not(.foo){color:red}
|
@ -0,0 +1,8 @@
|
||||
<p class="foo">foo</p>
|
||||
<p class="bar">bar</p>
|
||||
|
||||
<style>
|
||||
:not(.foo) {
|
||||
color: red;
|
||||
}
|
||||
</style>
|
Loading…
Reference in new issue