This commit is contained in:
imnyang 2025-01-20 21:35:33 +09:00
commit 3260257108
2 changed files with 39 additions and 20 deletions

View file

@ -2,8 +2,26 @@
@tailwind components;
@tailwind utilities;
html, body {
html,
body {
background-color: #0a0a0a;
color-scheme: dark;
height: 100%;
}
#avatar {
transition: transform 0.5s linear;
}
#avatar:hover {
animation: rotate 1s linear infinite;
}
@keyframes rotate {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}

View file

@ -9,6 +9,7 @@ export default function Top() {
alt="imnyang"
width={200}
height={200}
id="avatar"
className="rounded-full"
/>
<div>