简体   繁体   中英

How can I scale only part of svg

I have svg with 2 parts:

____________
|    |      |
| p1 |  p2  |
|____|______|

How can I save p1 width and scale only p2 width on horizontal scale? Please suggest me where can I get know about it. Thank you!

You can't do this with plain SVG. You would need to either use two SVGs side-by-side, or use Javascript to alter p2 where necessary.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM