Use Svelte shorthand for CSS variables declaration
This commit is contained in:
@@ -67,7 +67,7 @@
|
||||
<svelte:element this={tag}
|
||||
bind:this={titleEl}
|
||||
class={classes} aria-label={label}
|
||||
style="--parallax-x: {parallax}%;"
|
||||
style--parallax-x="{parallax}%"
|
||||
use:reveal={revealOptions}
|
||||
>
|
||||
<slot />
|
||||
|
||||
Reference in New Issue
Block a user