KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm new to SVG and a bit surprised that this example is cropped and not scaled? Whats missing to make it scaleable/sizeable using width/height in the svg element? <?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="200px" height="200px" viewBox="0 0 400px 400px"> <g fill-opacity="0.7" stroke="black" stroke-width="0.1cm"> <circle cx="200px" cy="60px" r="100" fill="red" transform="translate(0,50)" /> <circle cx="200px" cy="60px" r="100" fill="blue" transform="translate(70,150)" /> <circle cx="200px" cy="60px" r="100" fill="green" transform="translate(-70,150)" /> </g> </svg>
Tags (comma-separated)
Save Edits
Cancel