Setting the transform-origin of a child element to be its own center (instead of its parent's)

前端 未结 0 1779
孤街浪徒
孤街浪徒 2021-01-01 06:03

I have a child element in an svg that needs to be transformed with its own center as the transform-origin. I tried this:

.mySvg .child{
    transform-origin:          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题