Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/flo-bit/flo-bit.github.io. my personal website, w/ astro, svelte, tailwind, typescript, threlte flo-bit.dev
Something went wrong. Try again.
123456789101112131415161718192021222324252627<script lang="ts"> import { onMount } from "svelte";
let visible = false;
onMount(() => { visible = true; });
export let video;</script>
{#if visible && video} <video autoplay loop muted playsinline class="absolute inset-0 h-full w-full object-cover rounded-xl group-hover:scale-105 transition-transform duration-200 z-10" preload="none" > <source src={video} type="video/mp4" /> </video>{/if}
<div class="h-1 w-1"></div>