mirror of https://github.com/sveltejs/svelte
parent
d2f5296bd9
commit
74d15ea877
@ -0,0 +1,3 @@
|
||||
export default {
|
||||
cascade: false
|
||||
};
|
@ -0,0 +1,4 @@
|
||||
|
||||
[data-foo][svelte-2966013849] {
|
||||
color: red;
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
<div><p svelte-2966013849="" data-foo="true">this is styled</p>
|
||||
<p data-bar="true">this is unstyled</p></div>
|
@ -0,0 +1,10 @@
|
||||
<div>
|
||||
<p data-foo>this is styled</p>
|
||||
<p data-bar>this is unstyled</p>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
[data-foo] {
|
||||
color: red;
|
||||
}
|
||||
</style>
|
Loading…
Reference in new issue