Can I dynamically add a class to the Collection Item via CMS?

This page has a list of collection items, all with the same ‘Scroll into view’ interaction on it. https://mcveagh-fleming.webflow.io/our-people . It works ok, but I would really like it if each person had a staggered animation (as with the original site, seen here Auckland, North Shore, Manukau Lawyer - Solicitors, Partners).

I thought if I could add different classes to the Collection Item via the CMS tool I might be able to do this. Is there a way to add a class to the Collection Item or is it locked off?

Would love to know if anybody has had any success trying to do this, or if it is possible…

Cheers
Grant


Here is my public share link: https://preview.webflow.com/preview/mcveagh-fleming?utm_medium=preview_link&utm_source=dashboard&utm_content=mcveagh-fleming&preview=1adc79e9ed5422ce52c0cfe2b7d40435&mode=preview
(how to access public share link)

1 Like

Not via the interface but you could in custom code. Here is an example:

Thanks Wedev. Will see if I can get it to do what I want.

Cheers
Grant

If you have a question about it, post it on that topic and I will try to lend a hand.