I
I
iBird Rose2016-08-29 16:54:11
JavaScript
iBird Rose, 2016-08-29 16:54:11

How to make such callouts?

yfdQmG1TEOrQpiCAN6Xhg.jpg

Actually the question is how to connect such a curve 2 points? so that both the points themselves and the text do not move, the curves also adjust. maybe there are ready-made scripts for drawing this in canvas?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
moneymakerXA, 2016-08-29
@moneymakerXA

I don't know if this is correct, but I did a similar thing in Photoshop, and then just pasted the picture. But not 5 fragments separately, but one drawing, the essence is the same, the hassle is less, I have not yet encountered nuances

O
olegshilov, 2016-08-29
@olegshilov

the curve lies in an absolutely positioned block with fixed dimensions and a transparent background and overflow: hidden;
inside there is also an absolutely positioned div, which is actually a curve, with the necessary border-radus and border: 1px solid black;

A
Alexey, 2016-08-29
@alsopub

You can try with SVG - blogs.sitepointstatic.com/examples/tech/svg-curves...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question