What's the difference between CSS animations and JavaScript animations? ft Bruno Simon | Prismic

preview_player
Показать описание
CSS is great for transitions and allow developers to make animations between a set of starting property values and a final set rather than between two states. JavaScript animation, are relevant when the animation requires a complex timeline, or if the animation is not supported in CSS.
Bruno Simon talked to us about the difference between CSS animations and JavaScript animations.

---

As a developer, you should build websites using your favorite Jamstack framework.
Prismic allows you to build website sections, that you can connect to a website builder for your client or team. They will create pages from there and you get that content back to your code through our fast API.

► [Tutorial] Build a full website with Nuxt 3 and Prismic's new Page Builder:

---

► Find us also on:

---

00:00 Intro
00:13 CSS Animations vs JavaScript animations
04:04 Outro

#Prismic #Animations #WebDevelopment
Рекомендации по теме
Комментарии
Автор

Great answer Bruno. Hit the nail on the topic.

YoniBinstock
Автор

If it's a simple state transition or series of states, CSS or Javascript work.
If you need actual logic, like you need to follow the cursor, then you can't do it with CSS.
Makes sense.

Falcrist