Transforming motion values with useTransform

Individual motion values are cool, but the real fun starts when we combine multiple values together. We can do this using the useTransform hook.

As soon as we start combining these motion values, we also enter a territory where doing this in JavaScript might finally be better than doing it in CSS. The reason for this is that we can use JavaScript to do calculations that would be harder to do in CSS.

Unlock the full lesson with PRO

Want to read the full lesson? Join Frontend.FYI PRO.

PRO is a one time purchase of €149 that gives you lifetime access to this course, any courses released in the future, and so much more!