Merge pull request #5 from authenyoo/main

add marquee
This commit is contained in:
CodeF53 2024-01-30 20:04:32 -07:00 committed by GitHub
commit d3430e551f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,7 +10,7 @@ definePageMeta({ layout: 'home' })
/>
<main class="col gap2">
<h1>Hi, I'm F53</h1>
<div class="marquee"><h1>Hi, I'm F53</h1></div>
<p class="bio">
I'm a {{ Math.floor((Date.now() / 100000 - 10463292) / 315360) }}yo Full Stack Developer
@ -55,5 +55,20 @@ definePageMeta({ layout: 'home' })
}
h1 { color: var(--accent-light); }
.marquee {
white-space: nowrap;
overflow: hidden;
box-sizing: border-box;
}
.marquee * {
display: inline-block;
padding-left: 100%;
animation: marquee 15s linear infinite;
}
@keyframes marquee {
0% { transform: translate(0, 0); }
100% { transform: translate(-100%, 0); }
}
}
</style>