Source code
Revision control
Copy as Markdown
Other Tools
<svg width="340" height="140"
<title>Circle coordinates and radius specified by percentage</title>
<html:link rel="match" href="circle-ref.svg" />
<html:meta name="fuzzy" content="maxDifference=0-1; totalPixels=0-2" />
<style>
circle {
cx: 60%; /* 60% of width 340 */
cy: 40%; /* 40% of height 140 */
r: 25%; /* 25% of normalized diagonal 260 */
fill: blue;
}
</style>
<circle />
</svg>