: How to make rectangle with text in its border? I am using Sketch App and I want to create the exact illustration: Creating rectangles is really easy, but how can I make a text in the border
I am using Sketch App and I want to create the exact illustration:
Creating rectangles is really easy, but how can I make a text in the border like <html> as you can see above?
More posts by @Debbie163
2 Comments
Sorted by latest first Latest Oldest Best
You should use Dynamic button plugin github.com/ddwht/sketch-dynamic-button
Make your tags texts (<html>, <head>, etc.) as Dynamic buttons.
Set BG color to white.
Make paddings on test styles to 0:10.
Download sample sketch file
If you want that it is a rectangle and not a open path you need to mask the area where you want the text to appear.
Steps:
Draw a rectangle
Place text on desired place
Create mask to reveal or hide desired areas of the rectangle that touch your text
Here a video about masks in sketch:
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.