Add CSS-animation based typing animation
This commit is contained in:
parent
0801e85839
commit
31f3a69a1d
5 changed files with 142 additions and 134 deletions
src/lib/scss
|
@ -1,6 +1,17 @@
|
|||
@import "./_custom-bulma";
|
||||
@import "./_typed";
|
||||
|
||||
html, body {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#typed-welcome {
|
||||
&::before {
|
||||
@include typed("Welcome to tlater.net!", 1.2s);
|
||||
}
|
||||
|
||||
&::after {
|
||||
@include cursor(6s);
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue