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

What is Framer? Join the Community
Return to index
Caitlin Charniga
Posted May 12 - Read on Facebook

Hey all! So, I've imported an external CSS stylesheet into my prototype, and I've successfully called the element I need (SuiButton). However, I can figure out how to mess around with the width, height, padding, etc of that element in Framer.

4 Comments

Jordan Robert Dobson

layer._element.getElementsWithTagName("div")[0]

There you have you're standard dom node...

Jordan Robert Dobson

Or why don't you just add those classes to the actual layer?

Jordan Robert Dobson

Caitlin Charniga

Well, at that point I don't see why I would even use an external stylesheet. With this method, it doesn't actually grab the styling it was grabbing above.

Read the entire post on Facebook