0

Is it possible to use percentage to draw a circle in svg??

The cx and cy element seem to be pixel elenents(if I am wrong please correct me). Is there a way to push the centre of the circle with percentages

29th Dec 2018, 11:23 PM
Imim Kalada-green
Imim Kalada-green - avatar
1 Resposta
+ 1
cx/cy (means circle x and circle y) are the coordinates of the center of the circle on the svg viewbox. And yes, you can use percents for cx/cy.
29th Dec 2018, 11:47 PM
Boris Batinkov
Boris Batinkov - avatar