mirror of https://github.com/sveltejs/svelte
with the cascade: false compiler option, CSS in @supports blocks was getting removedpull/1200/head
parent
8aaf92aca2
commit
cbdbff54bf
@ -0,0 +1,3 @@
|
||||
export default {
|
||||
cascade: false
|
||||
};
|
@ -0,0 +1 @@
|
||||
@supports (display: grid){.maybe-grid[svelte-xyz]{display:grid}}
|
@ -0,0 +1,9 @@
|
||||
<div class='maybe-grid'>something with a nice layout</div>
|
||||
|
||||
<style>
|
||||
@supports (display: grid) {
|
||||
.maybe-grid {
|
||||
display: grid;
|
||||
}
|
||||
}
|
||||
</style>
|
Loading…
Reference in new issue