<!--.:◂◀▸v▶¤◀v∫∫v▶¤◀v∫∫‡####‡‡‡‡###‡‡‡###‡‡####‡∫∫v▶¤◀v∫∫v▶¤◀v◂▶▸:.
| |
| Filename : NK_Rotate.html |
| Author : Nina Kahmke |
| |
::◂◀▸v▶¤◀v∫∫v▶¤‡‡##‡‡‡‡‡‡‡‡###‡‡###‡‡‡‡##‡‡‡‡##‡‡¤◀v∫∫v▶¤◀v◂▶▸::-->
<!DOCTYPE html>
<html lang="en"></html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ROTATE</title>
<style>
@font-face {
font-family: Konsole;
src: url(../_fonts/Konsolev1.1-VF.ttf);
}
body,html{margin:0;padding:0;height:100%;}
body {
font-family: Konsole;
font-size: 10vw;
display: flex;
justify-content: center;
align-items: center;
}
@keyframes rotate-center {
/* defines how the text rotates and disappears at a certain point in the animation */
0% {
transform: rotate(0);
opacity: 1;
}
100% {
transform: rotate(360deg);
opacity: 0;
}
}
.class-1 {
/* combines animation properties into a single property */
animation: rotate-center 3s infinite;
/* determines the type of box or boxes that are generated for an element */
display: inline-block;
}
</style>
</head>
<body>
<p class="class-1"> ROTATE </p>
</body>
</html>