N.Achyuth Reddy
commited on
Commit
·
8d27b66
1
Parent(s):
2b3da4b
Update client/css/typing.css
Browse files- client/css/typing.css +23 -10
client/css/typing.css
CHANGED
@@ -1,15 +1,28 @@
|
|
1 |
-
.
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
animation: show_popup 0.4s;
|
7 |
}
|
8 |
|
9 |
-
.typing-
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
}
|
12 |
|
13 |
-
|
14 |
-
|
|
|
|
|
15 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wrapper {
|
2 |
+
height: 100vh;
|
3 |
+
/*This part is important for centering*/
|
4 |
+
display: grid;
|
5 |
+
place-items: center;
|
|
|
6 |
}
|
7 |
|
8 |
+
.typing-demo {
|
9 |
+
width: 22ch;
|
10 |
+
animation: typing 2s steps(22), blink .5s step-end infinite alternate;
|
11 |
+
white-space: nowrap;
|
12 |
+
overflow: hidden;
|
13 |
+
border-right: 3px solid;
|
14 |
+
font-family: monospace;
|
15 |
+
font-size: 2em;
|
16 |
}
|
17 |
|
18 |
+
@keyframes typing {
|
19 |
+
from {
|
20 |
+
width: 0
|
21 |
+
}
|
22 |
}
|
23 |
+
|
24 |
+
@keyframes blink {
|
25 |
+
50% {
|
26 |
+
border-color: transparent
|
27 |
+
}
|
28 |
+
}
|