Embed bg canvas style to Svelte component
This commit is contained in:
@ -266,4 +266,13 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<canvas class="bg-canvas" id="bg-canvas"></canvas>
|
||||
<canvas id="bg-canvas"></canvas>
|
||||
|
||||
<style>
|
||||
canvas#bg-canvas {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: -1;
|
||||
}
|
||||
</style>
|
||||
|
@ -19,13 +19,6 @@ body {
|
||||
color: global.$text-color;
|
||||
}
|
||||
|
||||
canvas.bg-canvas {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
spacer {
|
||||
display: block;
|
||||
margin-top: 8%;
|
||||
|
Reference in New Issue
Block a user