Skip to content

Commit

Permalink
remove animation title
Browse files Browse the repository at this point in the history
  • Loading branch information
pirocheto committed Dec 17, 2024
1 parent c640f1a commit 80b4340
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 32 deletions.
Binary file modified bun.lockb
Binary file not shown.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"@astrojs/tailwind": "^5.1.3",
"astro": "^4.16.10",
"sharp": "^0.32.5",
"tailwindcss": "^3.4.16"
"tailwindcss": "^3.4.16",
"typed.js": "^2.1.0"
}
}
31 changes: 0 additions & 31 deletions src/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,34 +26,3 @@
border-radius: 0.5rem;
vertical-align: super;
}

h1 {
overflow: hidden; /* Ensures the content is not revealed until the animation */
border-right: 0.15em solid transparent;
white-space: nowrap; /* Keeps the content on a single line */
margin: 0 auto; /* Gives that scrolling effect as the typing happens */
/* letter-spacing: 0.15em; Adjust as needed */
animation: typing 3.3s steps(40, end),
blink-caret 0.75s step-end calc((3.3 + 1) / 0.75);
}

/* The typing effect */
@keyframes typing {
from {
width: 0;
}
to {
width: 100%;
}
}

/* The typewriter cursor effect */
@keyframes blink-caret {
from,
to {
border-color: transparent;
}
50% {
border-color: var(--sl-color-accent);
}
}

0 comments on commit 80b4340

Please sign in to comment.