: How to assign different border styles in Sketch? I needed to assign different border styles for a shape, let's say rectangle. For example, I want to make a #666 1px top border and #333 2px
I needed to assign different border styles for a shape, let's say rectangle. For example, I want to make a #666 1px top border and #333 2px bottom border like we do in CSS.
{
border-top: 1px solid #666 ;
border-bottom: 2px solid #333;
}
Anyone knows a practical way to do this?
Any help would be appreciated.
More posts by @Megan533
1 Comments
Sorted by latest first Latest Oldest Best
You can fake the different border styles with shadows.
For the example you posted, you can add two shadows with the following settings:
Here's what you will get in Sketch:
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.