mirror of https://github.com/sveltejs/svelte
Merge pull request #3141 from sveltejs/gh-1705
add scoping attribute for pseudo-class selectors without a type/classpull/3149/head
commit
4b62fa27e4
@ -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