liupishui / kn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kn

js

js获取transform值

   $(this)[0].style.transform = 'translateY('+ ($(this).css('transform').match(/([-]\d+)|(\d+)/g)[5]-15) +'px)';

About