CSS has lots of non-layout-shifting animation techniques - obviously there’s stuff like only changing colours, images, backgrounds, and effects like box-shadow, but things like animating the transform: property are also “layout safe” and very high performance because they’re applied after layout:
https://web.dev/animations-guide/