L.A. based web developer slowly parsing through Stack Overflow. If you like hot web dev tips or stories about being a freelancer, check out my newsletter: https://codenutt.substack.com/p/coming-soon
L.A. based web developer slowly parsing through Stack Overflow. If you like hot web dev tips or stories about being a freelancer, check out my newsletter: https://codenutt.substack.com/p/coming-soon
I'm not sure what the answer to that is. Maybe because CSS is not often thought of like an animation solution? I dunno! CSS is also limited, you can't do everything. But you can do a lot!
L.A. based web developer slowly parsing through Stack Overflow. If you like hot web dev tips or stories about being a freelancer, check out my newsletter: https://codenutt.substack.com/p/coming-soon
CSS Transitions are always going to be faster/smoother than JS. Whether it's static or not, shouldn't make a difference.
This is Interesting. May I ask more?
But if it's faster/smoother that js, is there a reason why people don't use it more?
I'm not sure what the answer to that is. Maybe because CSS is not often thought of like an animation solution? I dunno! CSS is also limited, you can't do everything. But you can do a lot!
Thanks!
I was trying to understand if there was a reason to not use it.
You may be right. Thanks for taking time to answer my questions!
Oh, nope! I always try and reach for plain CSS before JS for animations 👍🏼