This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Shengqing Liu
Posted Oct 12 - Read on Facebook

Hey all, I am new in Framer. I have a question here. I have created 3 squares in design tab. In code tab, how can I set a class for these 3 layers in code tab? That I don't need to program the same mouseover animation repeat 3 times.


Jonas Treub

Hi Shengqing. You can't specify a class but you add the behaviours you want using a loop.
for layer in [targetA, targetB, targetC]

Read the entire post on Facebook