amy 2024-09-10 02:13:23 +03:30
parent 9c12845306
commit b2e6ac610f
6 changed files with 72 additions and 16 deletions

View file

@ -27,7 +27,24 @@ export function Bdpfp() {
export function Normalpfp() {
return <div class="birthdayparent header normal">
<img src="https://dp.nea.moe/avatar/712639419785412668.png" alt="LMAO IMAGINE BEING BLIND" />
<img class="initialanim" src="https://dp.nea.moe/avatar/712639419785412668.png" alt="LMAO IMAGINE BEING BLIND" onMouseEnter={(e) => {
(e.target as HTMLImageElement).animate([
{ transform: "rotateZ(0deg)" },
{ transform: "rotateZ(360deg)" },
], {
duration: 400,
iterations: 1,
})
}} onClick={(e) => {
(e.target as HTMLImageElement).animate([
{ transform: "rotateY(0deg)" },
{ transform: "rotateY(360deg)" },
], {
duration: 150,
iterations: 1,
})
console.log("balls");
}} />
<HoverComponent />
</div>