Hello,
I have this rect inside a nested SVG which is not cropped properly
Expected: https://codepen.io/unlocomqx/pen/eYBzJjL
Actual: https://scr.prestalife.net/sc0m3f3
Code: (file attached)
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <svg xmlns="http://www.w3.org/2000/svg" width="10cm" height="10cm" viewBox="0 0 100 100"> <svg x="10" y="10" width="50" height="50" viewBox="0 0 100 100" style="overflow: hidden" > <rect x="-20" y="0" width="140" height="100" fill="#4caf50"></rect> </svg> </svg>
Is this the right way to do it? Is there a workaround?
Thank you very much
Hello,
I have this rect inside a nested SVG which is not cropped properly
Expected: https://codepen.io/unlocomqx/pen/eYBzJjL
Actual: https://scr.prestalife.net/sc0m3f3
Code: (file attached)
Is this the right way to do it? Is there a workaround?
Thank you very much