Read css scale value using JS or Jquery

后端 未结 4 548
南笙
南笙 2021-01-25 02:24

I have this div

How do I get the

transform: scale(x,y) 
4条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-25 03:00

    Try this HTML

    Try this JS

    console.log($('#container').attr('style'))
    

提交回复
热议问题