Login
From:
Muffin Man
(Uncensored)
subscribe
Using CSS animations instead of JavaScript timers
https://muffinman.io/blog/css-animations-instead-of-js-timers/
links
backlinks
What if I told you that we can make a timer without using setTimeout, setInterval or requestAnimationFrame? JavaScript is still necessary, but we can create the timer just by toggling some CSS classes.
Roast topics
Find topics
Roast it!
Roast topics
Find topics
Find it!
Roast topics
Find topics
Find it!