You want CSS transitions or animations, since they can run on the compositor thread (most of the time). Zero jank.
(I work with CSS browser performance, although animations is not my primary field)
Re:Show HN: CSS Extras
by cluckindan on Tuesday October 14, 2025 @02:37PM
(#45583307)
jQuery has .animate() which uses the JS API and used to be very popular. When CSS Animations became available, that part of jQuery became obsolete overnight.
In the context of animations, I'd intuit the latter but would be open to hearing why.