mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 19:51:07 +02:00
style: add fade animations to roc, back button, tags and waline comment, refactor katex import method
This commit is contained in:
parent
dda2bb6caa
commit
90c2099fec
10 changed files with 58 additions and 12 deletions
|
@ -1,7 +1,7 @@
|
|||
<script>
|
||||
function resetFadeUpAnimation() {
|
||||
document.querySelectorAll('.animation-fade-up').forEach((container) => {
|
||||
const childElements = Array.from(container.children).slice(0, 20)
|
||||
const childElements = Array.from(container.children)
|
||||
childElements.forEach(element =>
|
||||
(element as HTMLElement).style.animationName = 'none',
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue