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

What is Framer? Join the Community
Return to index
Scott Criswell
Posted Feb 05 - Read on Facebook

Is it possible to round 2 corners of a rectangle or should I round all corners and apply a mask to hide the corners I don't want rounded? What's the best practice here? I'm guessing I could just do this in CoffeeScript but was curious to see if anyone else has addressed this.

3 Comments

Scott Criswell

Being able to directly round individual corners would be ideal for animation and general flexibility in code.

Randi Dumaguet

borderRadius: "topLeft topRight bottomRight bottomLeft" like:

rectangle = new Layer
--borderRadius: "10px 0 0 0"

Scott Criswell

Thanks so much Randi Dumaguet. :)

Read the entire post on Facebook