feat: Add HTML5 page with animated text transition effect
This commit is contained in:
35
animation.html
Normal file
35
animation.html
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="de">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Animation</title>
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
height: 100vh;
|
||||||
|
background-color: #000;
|
||||||
|
color: #fff;
|
||||||
|
font-family: 'Courier New', Courier, monospace;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.text {
|
||||||
|
position: absolute;
|
||||||
|
animation: moveText 5s infinite alternate;
|
||||||
|
font-size: 2em;
|
||||||
|
opacity: 0.8;
|
||||||
|
}
|
||||||
|
@keyframes moveText {
|
||||||
|
0% { transform: translate(-50%, -50%); }
|
||||||
|
50% { transform: translate(10%, 10%); }
|
||||||
|
100% { transform: translate(50%, 50%); }
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="text">The Next BIG Thing...</div>
|
||||||
|
<div class="text" style="animation-delay: 2.5s;">...coming soon</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Reference in New Issue
Block a user