mirror of https://github.com/sveltejs/svelte
10 lines
158 B
10 lines
158 B
8 years ago
|
<div>
|
||
|
<p data-foo='foobarbaz'>this is styled</p>
|
||
|
<p data-foo='fooBARbaz'>this is unstyled</p>
|
||
|
</div>
|
||
|
|
||
|
<style>
|
||
|
[data-foo*='bar'] {
|
||
|
color: red;
|
||
|
}
|
||
|
</style>
|