obs-skin/logo.html
2025-08-28 12:30:11 +02:00

55 lines
825 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Logo</title>
<style>
#wrapper {
width: 100%;
position: fixed;
bottom: 24px;
text-align: center;
}
#wrapper img {
margin-left: -60px;
}
#animate {
animation-name: position;
animation-duration: 4s;
transform: translateY(0);
}
@keyframes position {
from {
transform: translateY(0);
}
50% {
transform: translateY(120px);
}
to {
transform: translateY(0);
}
}
</style>
</head>
<body>
<div id="wrapper">
<img src="../assets/logo-all.png">
</div>
<script>
const img = document.querySelector("#wrapper img")
setInterval(() => {
img.setAttribute('id', 'animate')
setTimeout(() => {
img.setAttribute('id', '')
}, 5000)
}, 60000)
</script>
</body>
</html>