The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › How could this SVG be responsive?
Hi,
If I have a picture like this: <ellipse cx=”300″ cy=”110″ rx=”130″ ry=”20″></ellipse>
So, it is declared by pixels, not percents.
How could it be responsive?
The numbers there related to the viewbox co-ordinate system you set for the SVG.
viewbox
You have set a viewbox…right?
So…it’s responsive by it’s very nature.
http://codepen.io/Paulie-D/pen/oBYwjw
Perhaps you could clarify why it is you are trying to do.
That’s it! Thank you!!
(I have written “width” instead of “viewbox”. That was the problem.)