diff options
| author | rxliuli <rxliuli@gmail.com> | 2025-11-04 05:03:50 +0800 |
|---|---|---|
| committer | rxliuli <rxliuli@gmail.com> | 2025-11-04 05:03:50 +0800 |
| commit | bce557cc2dc767628bed6aac87301a1be7c5431b (patch) | |
| tree | b51a051228d01fe3306cd7626d4a96768aadb944 /src/components/hero/CarouselBackgroundPortal.svelte | |
init commit
Diffstat (limited to 'src/components/hero/CarouselBackgroundPortal.svelte')
| -rw-r--r-- | src/components/hero/CarouselBackgroundPortal.svelte | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/components/hero/CarouselBackgroundPortal.svelte b/src/components/hero/CarouselBackgroundPortal.svelte new file mode 100644 index 0000000..4580ce0 --- /dev/null +++ b/src/components/hero/CarouselBackgroundPortal.svelte @@ -0,0 +1,17 @@ +<script lang="ts" context="module"> + export const id = 'hero-carousel-shelf-background-portal'; +</script> + +<div {id} /> + +<style> + #hero-carousel-shelf-background-portal { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + overflow-x: hidden; + z-index: -1; + } +</style> |
