<!--.:◂◀▸v▶¤◀v∫∫v▶¤◀v∫∫‡####‡‡‡‡###‡‡‡###‡‡####‡∫∫v▶¤◀v∫∫v▶¤◀v◂▶▸:.
| |
| Filename : TD_flipping.html |
| Author : Tessa Sophie Dürbusch |
| |
::◂◀▸v▶¤◀v∫∫v▶¤‡‡##‡‡‡‡‡‡‡‡###‡‡###‡‡‡‡##‡‡‡‡##‡‡¤◀v∫∫v▶¤◀v◂▶▸::-->
<!doctype HTML>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>flipping</title>
<style>
@font-face {
font-family: Konsole;
src: url(../_fonts/Konsolev1.1-VF.ttf);
}
body {
font-family: Konsole;
font-size: 4vh;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
overflow: hidden;
height: 100vh;
}
* {
/* set values for the thickness of the padding area */
padding: 0;
/* set values for the thickness of the margin area */
margin: 0;
/* specifies the behavior of the width and height properties */
box-sizing: border-box;
}
.class-1 {
/* sets how an element is positioned in a document */
position: relative;
}
.class-1 span {
/* sets how an element is positioned in a document */
position: relative;
/* sets the type of box or boxes that are generated for an element */
display: inline-block;
/* sets height of glyphs from the font */
font-size: 4em;
/* sets an available font for the character to be rendered */
font-family: Konsole;
/* combines animation properties into a single property */
animation: flip 2s infinite;
/* defines when the animation will start */
animation-delay: calc(.2s * var(--i))
}
@keyframes flip {
/* defines how the text is going to flip in the animation */
0%,
80% {
transform: rotateY(360deg)
}
}
</style>
</head>
<body>
<div class="class-1">
<span style="--i:1">F</span>
<span style="--i:2">L</span>
<span style="--i:3">I</span>
<span style="--i:4">P</span>
<span style="--i:5">P</span>
<span style="--i:6">I</span>
<span style="--i:7">N</span>
<span style="--i:8">G</span>
</div>
</body>
</html>