„css/typing.css“ hinzufügen
This commit is contained in:
parent
3573c2262c
commit
152d84c8bd
20
css/typing.css
Normal file
20
css/typing.css
Normal file
@ -0,0 +1,20 @@
|
||||
.container{
|
||||
display: inline-block;
|
||||
font-family: "arial";
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.typed {
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
width: 0;
|
||||
animation: typing;
|
||||
animation-duration: 1.5s;
|
||||
animation-timing-function: steps(30, end);
|
||||
animation-fill-mode: forwards;
|
||||
}
|
||||
|
||||
@keyframes typing {
|
||||
from { width: 0 }
|
||||
to { width: 100% }
|
||||
}
|
Loading…
Reference in New Issue
Block a user