changed up temp style
This commit is contained in:
@@ -9,6 +9,6 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>nicholassurmava.com</h1>
|
<h1>nicholassurmava.com</h1>
|
||||||
<h2>Stay Tuned<span class="ellipsis"></span></h2>
|
<h2 class="typewriter">Stay Tuned...</h2>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -49,17 +49,28 @@ body {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
|
background-color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes ellipsis {
|
@keyframes blink {
|
||||||
0% { content: ''; }
|
0%, 100% { border-color: transparent; }
|
||||||
25% { content: '.'; }
|
50% { border-color: currentColor; }
|
||||||
50% { content: '..'; }
|
|
||||||
75% { content: '...'; }
|
|
||||||
100% { content: ''; }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 .ellipsis::after {
|
@keyframes typing {
|
||||||
content: '';
|
0% { width: 0; }
|
||||||
animation: ellipsis 3.5s steps(1, end) infinite;
|
80% { width: 13ch; }
|
||||||
|
100% { width: 13ch; }
|
||||||
|
}
|
||||||
|
|
||||||
|
h2.typewriter {
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
border-right: 2px solid currentColor;
|
||||||
|
width: 0;
|
||||||
|
display: inline-block;
|
||||||
|
animation:
|
||||||
|
typing 3.5s steps(14, end) infinite,
|
||||||
|
blink 0.75s step-end infinite;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user