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

What is Framer? Join the Community
Return to index
Robin Spielmann
Posted Feb 04 - Read on Facebook


Is there a possibility to animate the lineHeight or the opacity of the html input of a layer?


Radek Kyselý

Interesting question. Can you be more specific about what you need it for? :)

Paul Justin Farino

Depends on the use case. A little hacky. Hope this is what you need.

Radek Kyselý

Robin Spielmann There is this cool Utils.insertCSS() :)
This is what I came up with right now :)
Click anywhere and you'll see the animation of layer.html for:

In fact, you could animate virtually any CSS property this way. Also the code is much much cleaner using classes instead of hard coded style inside .html :)

Read the entire post on Facebook